pub struct EmailVerificationCode {
pub code: String,
}Expand description
Generated from:
emailVerificationCode#922e55a9 code:string = EmailVerificationFields§
§code: StringTrait Implementations§
Source§impl Clone for EmailVerificationCode
impl Clone for EmailVerificationCode
Source§fn clone(&self) -> EmailVerificationCode
fn clone(&self) -> EmailVerificationCode
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 EmailVerificationCode
impl Debug for EmailVerificationCode
Source§impl Deserializable for EmailVerificationCode
impl Deserializable for EmailVerificationCode
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<EmailVerificationCode> for EmailVerification
impl From<EmailVerificationCode> for EmailVerification
Source§fn from(x: EmailVerificationCode) -> Self
fn from(x: EmailVerificationCode) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EmailVerificationCode
impl Identifiable for EmailVerificationCode
Source§const CONSTRUCTOR_ID: u32 = 0x922e55a9
const CONSTRUCTOR_ID: u32 = 0x922e55a9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EmailVerificationCode
impl PartialEq for EmailVerificationCode
Source§impl Serializable for EmailVerificationCode
impl Serializable for EmailVerificationCode
Source§impl TryFrom<EmailVerification> for EmailVerificationCode
impl TryFrom<EmailVerification> for EmailVerificationCode
Source§type Error = EmailVerification
type Error = EmailVerification
The type returned in the event of a conversion error.
impl StructuralPartialEq for EmailVerificationCode
Auto Trait Implementations§
impl Freeze for EmailVerificationCode
impl RefUnwindSafe for EmailVerificationCode
impl Send for EmailVerificationCode
impl Sync for EmailVerificationCode
impl Unpin for EmailVerificationCode
impl UnsafeUnpin for EmailVerificationCode
impl UnwindSafe for EmailVerificationCode
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