Struct frankenstein::api_params::PromoteChatMemberParams [−][src]
pub struct PromoteChatMemberParams {}Show fields
pub chat_id: ChatId, pub user_id: u64, pub is_anonymous: Option<bool>, pub can_manage_chat: Option<bool>, pub can_post_messages: Option<bool>, pub can_edit_messages: Option<bool>, pub can_delete_messages: Option<bool>, pub can_manage_voice_chats: Option<bool>, pub can_restrict_members: Option<bool>, pub can_promote_members: Option<bool>, pub can_change_info: Option<bool>, pub can_invite_users: Option<bool>, pub can_pin_messages: Option<bool>,
Fields
chat_id: ChatId
user_id: u64
is_anonymous: Option<bool>
can_manage_chat: Option<bool>
can_post_messages: Option<bool>
can_edit_messages: Option<bool>
can_delete_messages: Option<bool>
can_manage_voice_chats: Option<bool>
can_restrict_members: Option<bool>
can_promote_members: Option<bool>
can_change_info: Option<bool>
can_invite_users: Option<bool>
can_pin_messages: Option<bool>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PromoteChatMemberParams
impl Send for PromoteChatMemberParams
impl Sync for PromoteChatMemberParams
impl Unpin for PromoteChatMemberParams
impl UnwindSafe for PromoteChatMemberParams
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
pub fn vzip(self) -> V
impl<T> UnsafeAny for T where
T: Any,