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