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