Struct frankenstein::objects::User [−][src]
pub struct User { pub id: u64, pub is_bot: bool, pub first_name: String, pub last_name: Option<String>, pub username: Option<String>, pub language_code: Option<String>, pub can_join_groups: Option<bool>, pub can_read_all_group_messages: Option<bool>, pub supports_inline_queries: Option<bool>, }
Fields
id: u64
is_bot: bool
first_name: String
last_name: Option<String>
username: Option<String>
language_code: Option<String>
can_join_groups: Option<bool>
can_read_all_group_messages: Option<bool>
supports_inline_queries: Option<bool>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
pub fn vzip(self) -> V
impl<T> UnsafeAny for T where
T: Any,