pub struct DestroySessionNone {
pub session_id: i64,
}Expand description
Generated from:
destroy_session_none#62d350c9 session_id:long = DestroySessionResFields§
§session_id: i64Trait Implementations§
Source§impl Clone for DestroySessionNone
impl Clone for DestroySessionNone
Source§fn clone(&self) -> DestroySessionNone
fn clone(&self) -> DestroySessionNone
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DestroySessionNone
impl Debug for DestroySessionNone
Source§impl Deserializable for DestroySessionNone
impl Deserializable for DestroySessionNone
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 From<DestroySessionNone> for DestroySessionRes
impl From<DestroySessionNone> for DestroySessionRes
Source§fn from(x: DestroySessionNone) -> Self
fn from(x: DestroySessionNone) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DestroySessionNone
impl Identifiable for DestroySessionNone
Source§const CONSTRUCTOR_ID: u32 = 0x62d350c9
const CONSTRUCTOR_ID: u32 = 0x62d350c9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DestroySessionNone
impl PartialEq for DestroySessionNone
Source§impl Serializable for DestroySessionNone
impl Serializable for DestroySessionNone
Source§impl TryFrom<DestroySessionRes> for DestroySessionNone
impl TryFrom<DestroySessionRes> for DestroySessionNone
Source§type Error = DestroySessionRes
type Error = DestroySessionRes
The type returned in the event of a conversion error.
impl StructuralPartialEq for DestroySessionNone
Auto Trait Implementations§
impl Freeze for DestroySessionNone
impl RefUnwindSafe for DestroySessionNone
impl Send for DestroySessionNone
impl Sync for DestroySessionNone
impl Unpin for DestroySessionNone
impl UnsafeUnpin for DestroySessionNone
impl UnwindSafe for DestroySessionNone
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