pub struct DestroySessionOk {
pub session_id: i64,
}Expand description
Fields§
§session_id: i64Trait Implementations§
Source§impl Clone for DestroySessionOk
impl Clone for DestroySessionOk
Source§fn clone(&self) -> DestroySessionOk
fn clone(&self) -> DestroySessionOk
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 DestroySessionOk
impl Debug for DestroySessionOk
Source§impl Deserializable for DestroySessionOk
impl Deserializable for DestroySessionOk
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<DestroySessionOk> for DestroySessionRes
impl From<DestroySessionOk> for DestroySessionRes
Source§fn from(x: DestroySessionOk) -> Self
fn from(x: DestroySessionOk) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DestroySessionOk
impl Identifiable for DestroySessionOk
Source§const CONSTRUCTOR_ID: u32 = 0xe22045fc
const CONSTRUCTOR_ID: u32 = 0xe22045fc
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DestroySessionOk
impl PartialEq for DestroySessionOk
Source§impl Serializable for DestroySessionOk
impl Serializable for DestroySessionOk
Source§impl TryFrom<DestroySessionRes> for DestroySessionOk
impl TryFrom<DestroySessionRes> for DestroySessionOk
Source§type Error = DestroySessionRes
type Error = DestroySessionRes
The type returned in the event of a conversion error.
impl StructuralPartialEq for DestroySessionOk
Auto Trait Implementations§
impl Freeze for DestroySessionOk
impl RefUnwindSafe for DestroySessionOk
impl Send for DestroySessionOk
impl Sync for DestroySessionOk
impl Unpin for DestroySessionOk
impl UnsafeUnpin for DestroySessionOk
impl UnwindSafe for DestroySessionOk
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