pub struct DestroySession {
pub session_id: i64,
}Expand description
Fields§
§session_id: i64Trait Implementations§
Source§impl Clone for DestroySession
impl Clone for DestroySession
Source§fn clone(&self) -> DestroySession
fn clone(&self) -> DestroySession
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 DestroySession
impl Debug for DestroySession
Source§impl Deserializable for DestroySession
impl Deserializable for DestroySession
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 DestroySession
impl Identifiable for DestroySession
Source§const CONSTRUCTOR_ID: u32 = 0xe7512126
const CONSTRUCTOR_ID: u32 = 0xe7512126
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DestroySession
impl PartialEq for DestroySession
Source§impl RemoteCall for DestroySession
impl RemoteCall for DestroySession
Source§type Return = DestroySessionRes
type Return = DestroySessionRes
The deserialized response type.
Source§impl Serializable for DestroySession
impl Serializable for DestroySession
impl StructuralPartialEq for DestroySession
Auto Trait Implementations§
impl Freeze for DestroySession
impl RefUnwindSafe for DestroySession
impl Send for DestroySession
impl Sync for DestroySession
impl Unpin for DestroySession
impl UnsafeUnpin for DestroySession
impl UnwindSafe for DestroySession
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