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