pub struct TGFrom {
pub id: i64,
pub is_bot: bool,
pub first_name: String,
pub last_name: Option<String>,
pub username: Option<String>,
pub language_code: Option<String>,
pub is_premium: Option<bool>,
pub added_to_attachment_menu: Option<bool>,
}Fields§
§id: i64§is_bot: bool§first_name: String§last_name: Option<String>§username: Option<String>§language_code: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TGFrom
impl<'de> Deserialize<'de> for TGFrom
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 TGFrom
impl RefUnwindSafe for TGFrom
impl Send for TGFrom
impl Sync for TGFrom
impl Unpin for TGFrom
impl UnwindSafe for TGFrom
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