Expand description
Owner of the group. This struct is part of the ChatMemberKind
enum.
Fields§
§custom_title: Option<String>
Custom title for this user.
is_anonymous: bool
True, if the user’s presence in the chat is hidden
Trait Implementations§
source§impl<'de> Deserialize<'de> for Owner
impl<'de> Deserialize<'de> for Owner
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Owner, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Owner, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Owner> for Owner
impl PartialEq<Owner> for Owner
source§impl Serialize for Owner
impl Serialize for Owner
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Owner
impl StructuralEq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnwindSafe for Owner
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.