Struct frankenstein::objects::ChatMemberOwner
source · [−]pub struct ChatMemberOwner {
pub user: User,
pub custom_title: Option<String>,
pub is_anonymous: bool,
}
Fields
user: User
custom_title: Option<String>
is_anonymous: bool
Implementations
Trait Implementations
sourceimpl Clone for ChatMemberOwner
impl Clone for ChatMemberOwner
sourcefn clone(&self) -> ChatMemberOwner
fn clone(&self) -> ChatMemberOwner
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChatMemberOwner
impl Debug for ChatMemberOwner
sourceimpl<'de> Deserialize<'de> for ChatMemberOwner
impl<'de> Deserialize<'de> for ChatMemberOwner
sourcefn 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
sourceimpl PartialEq<ChatMemberOwner> for ChatMemberOwner
impl PartialEq<ChatMemberOwner> for ChatMemberOwner
sourcefn eq(&self, other: &ChatMemberOwner) -> bool
fn eq(&self, other: &ChatMemberOwner) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChatMemberOwner) -> bool
fn ne(&self, other: &ChatMemberOwner) -> bool
This method tests for !=
.
sourceimpl Serialize for ChatMemberOwner
impl Serialize for ChatMemberOwner
impl StructuralPartialEq for ChatMemberOwner
Auto Trait Implementations
impl RefUnwindSafe for ChatMemberOwner
impl Send for ChatMemberOwner
impl Sync for ChatMemberOwner
impl Unpin for ChatMemberOwner
impl UnwindSafe for ChatMemberOwner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more