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