pub struct ChatMemberOwner {
pub user: User,
pub is_anonymous: bool,
pub custom_title: Option<String>,
}
Expand description
Represents a chat member that owns the chat and has all administrator privileges.
Fields§
§user: User
Information about the user
is_anonymous: bool
True, if the user’s presence in the chat is hidden
custom_title: Option<String>
Optional. Custom title for this user
Implementations§
Trait Implementations§
Source§impl Clone for ChatMemberOwner
impl Clone for ChatMemberOwner
Source§fn clone(&self) -> ChatMemberOwner
fn clone(&self) -> ChatMemberOwner
Returns a duplicate 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 ChatMemberOwner
impl Debug for ChatMemberOwner
Source§impl<'de> Deserialize<'de> for ChatMemberOwner
impl<'de> Deserialize<'de> for ChatMemberOwner
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 ChatMemberOwner
impl RefUnwindSafe for ChatMemberOwner
impl Send for ChatMemberOwner
impl Sync for ChatMemberOwner
impl Unpin for ChatMemberOwner
impl UnwindSafe for ChatMemberOwner
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