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