pub struct SetChatDiscussionGroup { /* private fields */ }
Expand description
Changes the discussion group of a channel chat; requires can_change_info administrator right in the channel if it is specified
Implementations§
Trait Implementations§
Source§impl AsRef<SetChatDiscussionGroup> for SetChatDiscussionGroup
impl AsRef<SetChatDiscussionGroup> for SetChatDiscussionGroup
Source§fn as_ref(&self) -> &SetChatDiscussionGroup
fn as_ref(&self) -> &SetChatDiscussionGroup
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SetChatDiscussionGroup
impl Clone for SetChatDiscussionGroup
Source§fn clone(&self) -> SetChatDiscussionGroup
fn clone(&self) -> SetChatDiscussionGroup
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 SetChatDiscussionGroup
impl Debug for SetChatDiscussionGroup
Source§impl Default for SetChatDiscussionGroup
impl Default for SetChatDiscussionGroup
Source§fn default() -> SetChatDiscussionGroup
fn default() -> SetChatDiscussionGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetChatDiscussionGroup
impl<'de> Deserialize<'de> for SetChatDiscussionGroup
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 SetChatDiscussionGroup
impl RefUnwindSafe for SetChatDiscussionGroup
impl Send for SetChatDiscussionGroup
impl Sync for SetChatDiscussionGroup
impl Unpin for SetChatDiscussionGroup
impl UnwindSafe for SetChatDiscussionGroup
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