pub struct SecureValue {
pub type: SecureValueType,
pub data: Option<SecureData>,
pub front_side: Option<SecureFile>,
pub reverse_side: Option<SecureFile>,
pub selfie: Option<SecureFile>,
pub translation: Option<Vec<SecureFile>>,
pub files: Option<Vec<SecureFile>>,
pub plain_data: Option<SecurePlainData>,
pub hash: Vec<u8>,
}Expand description
Generated from:
secureValue#187fa0ca flags:# type:SecureValueType data:flags.0?SecureData front_side:flags.1?SecureFile reverse_side:flags.2?SecureFile selfie:flags.3?SecureFile translation:flags.6?Vector<SecureFile> files:flags.4?Vector<SecureFile> plain_data:flags.5?SecurePlainData hash:bytes = SecureValueFields§
§type: SecureValueType§data: Option<SecureData>§front_side: Option<SecureFile>§reverse_side: Option<SecureFile>§selfie: Option<SecureFile>§translation: Option<Vec<SecureFile>>§files: Option<Vec<SecureFile>>§plain_data: Option<SecurePlainData>§hash: Vec<u8>Trait Implementations§
Source§impl Clone for SecureValue
impl Clone for SecureValue
Source§fn clone(&self) -> SecureValue
fn clone(&self) -> SecureValue
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 SecureValue
impl Debug for SecureValue
Source§impl Deserializable for SecureValue
impl Deserializable for SecureValue
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<SecureValue> for SecureValue
impl From<SecureValue> for SecureValue
Source§fn from(x: SecureValue) -> Self
fn from(x: SecureValue) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SecureValue
impl Identifiable for SecureValue
Source§const CONSTRUCTOR_ID: u32 = 0x187fa0ca
const CONSTRUCTOR_ID: u32 = 0x187fa0ca
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SecureValue
impl PartialEq for SecureValue
Source§impl Serializable for SecureValue
impl Serializable for SecureValue
Source§impl TryFrom<SecureValue> for SecureValue
impl TryFrom<SecureValue> for SecureValue
Source§type Error = SecureValue
type Error = SecureValue
The type returned in the event of a conversion error.
impl StructuralPartialEq for SecureValue
Auto Trait Implementations§
impl Freeze for SecureValue
impl RefUnwindSafe for SecureValue
impl Send for SecureValue
impl Sync for SecureValue
impl Unpin for SecureValue
impl UnsafeUnpin for SecureValue
impl UnwindSafe for SecureValue
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