Struct grammers_session::User
source · pub struct User {
pub id: i64,
pub dc: i32,
pub bot: bool,
}
Fields§
§id: i64
§dc: i32
§bot: bool
Trait Implementations§
source§impl Deserializable for User
impl Deserializable for User
source§impl Identifiable for User
impl Identifiable for User
source§const CONSTRUCTOR_ID: u32 = 1_731_150_477u32
const CONSTRUCTOR_ID: u32 = 1_731_150_477u32
The unique identifier for the type.
source§impl Serializable for User
impl Serializable for User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)