pub struct SecureRequiredType {
pub native_names: bool,
pub selfie_required: bool,
pub translation_required: bool,
pub type: SecureValueType,
}Expand description
Generated from:
secureRequiredType#829d99da flags:# native_names:flags.0?true selfie_required:flags.1?true translation_required:flags.2?true type:SecureValueType = SecureRequiredTypeFields§
§native_names: bool§selfie_required: bool§translation_required: bool§type: SecureValueTypeTrait Implementations§
Source§impl Clone for SecureRequiredType
impl Clone for SecureRequiredType
Source§fn clone(&self) -> SecureRequiredType
fn clone(&self) -> SecureRequiredType
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 SecureRequiredType
impl Debug for SecureRequiredType
Source§impl Deserializable for SecureRequiredType
impl Deserializable for SecureRequiredType
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<SecureRequiredType> for SecureRequiredType
impl From<SecureRequiredType> for SecureRequiredType
Source§fn from(x: SecureRequiredType) -> Self
fn from(x: SecureRequiredType) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SecureRequiredType
impl Identifiable for SecureRequiredType
Source§const CONSTRUCTOR_ID: u32 = 0x829d99da
const CONSTRUCTOR_ID: u32 = 0x829d99da
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SecureRequiredType
impl PartialEq for SecureRequiredType
Source§impl Serializable for SecureRequiredType
impl Serializable for SecureRequiredType
Source§impl TryFrom<SecureRequiredType> for SecureRequiredType
impl TryFrom<SecureRequiredType> for SecureRequiredType
Source§type Error = SecureRequiredType
type Error = SecureRequiredType
The type returned in the event of a conversion error.
impl StructuralPartialEq for SecureRequiredType
Auto Trait Implementations§
impl Freeze for SecureRequiredType
impl RefUnwindSafe for SecureRequiredType
impl Send for SecureRequiredType
impl Sync for SecureRequiredType
impl Unpin for SecureRequiredType
impl UnsafeUnpin for SecureRequiredType
impl UnwindSafe for SecureRequiredType
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