pub struct SetChatMemberStatus { /* private fields */ }
Expand description
Changes the status of a chat member, needs appropriate privileges. This function is currently not suitable for transferring chat ownership; use transferChatOwnership instead. Use addChatMember or banChatMember if some additional parameters needs to be passed
Implementations§
Trait Implementations§
Source§impl AsRef<SetChatMemberStatus> for SetChatMemberStatus
impl AsRef<SetChatMemberStatus> for SetChatMemberStatus
Source§fn as_ref(&self) -> &SetChatMemberStatus
fn as_ref(&self) -> &SetChatMemberStatus
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SetChatMemberStatus
impl Clone for SetChatMemberStatus
Source§fn clone(&self) -> SetChatMemberStatus
fn clone(&self) -> SetChatMemberStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SetChatMemberStatus
impl Debug for SetChatMemberStatus
Source§impl Default for SetChatMemberStatus
impl Default for SetChatMemberStatus
Source§fn default() -> SetChatMemberStatus
fn default() -> SetChatMemberStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetChatMemberStatus
impl<'de> Deserialize<'de> for SetChatMemberStatus
Source§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
Auto Trait Implementations§
impl Freeze for SetChatMemberStatus
impl RefUnwindSafe for SetChatMemberStatus
impl Send for SetChatMemberStatus
impl Sync for SetChatMemberStatus
impl Unpin for SetChatMemberStatus
impl UnwindSafe for SetChatMemberStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more