pub struct Timezone {
pub id: String,
pub name: String,
pub utc_offset: i32,
}Expand description
Fields§
§id: String§name: String§utc_offset: i32Trait Implementations§
Source§impl Deserializable for Timezone
impl Deserializable for Timezone
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for Timezone
impl Identifiable for Timezone
Source§const CONSTRUCTOR_ID: u32 = 0xff9289f5
const CONSTRUCTOR_ID: u32 = 0xff9289f5
The constructor ID as specified in the TL schema.
Source§impl Serializable for Timezone
impl Serializable for Timezone
impl StructuralPartialEq for Timezone
Auto Trait Implementations§
impl Freeze for Timezone
impl RefUnwindSafe for Timezone
impl Send for Timezone
impl Sync for Timezone
impl Unpin for Timezone
impl UnsafeUnpin for Timezone
impl UnwindSafe for Timezone
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