pub struct NearestDc {
pub country: String,
pub this_dc: i32,
pub nearest_dc: i32,
}Expand description
Fields§
§country: String§this_dc: i32§nearest_dc: i32Trait Implementations§
Source§impl Deserializable for NearestDc
impl Deserializable for NearestDc
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 NearestDc
impl Identifiable for NearestDc
Source§const CONSTRUCTOR_ID: u32 = 0x8e1a1775
const CONSTRUCTOR_ID: u32 = 0x8e1a1775
The constructor ID as specified in the TL schema.
Source§impl Serializable for NearestDc
impl Serializable for NearestDc
impl StructuralPartialEq for NearestDc
Auto Trait Implementations§
impl Freeze for NearestDc
impl RefUnwindSafe for NearestDc
impl Send for NearestDc
impl Sync for NearestDc
impl Unpin for NearestDc
impl UnsafeUnpin for NearestDc
impl UnwindSafe for NearestDc
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