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