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