pub struct InputSecureFileUploaded {
pub id: i64,
pub parts: i32,
pub md5_checksum: String,
pub file_hash: Vec<u8>,
pub secret: Vec<u8>,
}Expand description
Generated from:
inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFileFields§
§id: i64§parts: i32§md5_checksum: String§file_hash: Vec<u8>§secret: Vec<u8>Trait Implementations§
Source§impl Clone for InputSecureFileUploaded
impl Clone for InputSecureFileUploaded
Source§fn clone(&self) -> InputSecureFileUploaded
fn clone(&self) -> InputSecureFileUploaded
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 InputSecureFileUploaded
impl Debug for InputSecureFileUploaded
Source§impl Deserializable for InputSecureFileUploaded
impl Deserializable for InputSecureFileUploaded
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<InputSecureFileUploaded> for InputSecureFile
impl From<InputSecureFileUploaded> for InputSecureFile
Source§fn from(x: InputSecureFileUploaded) -> Self
fn from(x: InputSecureFileUploaded) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputSecureFileUploaded
impl Identifiable for InputSecureFileUploaded
Source§const CONSTRUCTOR_ID: u32 = 0x3334b0f0
const CONSTRUCTOR_ID: u32 = 0x3334b0f0
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputSecureFileUploaded
impl PartialEq for InputSecureFileUploaded
Source§impl TryFrom<InputSecureFile> for InputSecureFileUploaded
impl TryFrom<InputSecureFile> for InputSecureFileUploaded
Source§type Error = InputSecureFile
type Error = InputSecureFile
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputSecureFileUploaded
Auto Trait Implementations§
impl Freeze for InputSecureFileUploaded
impl RefUnwindSafe for InputSecureFileUploaded
impl Send for InputSecureFileUploaded
impl Sync for InputSecureFileUploaded
impl Unpin for InputSecureFileUploaded
impl UnsafeUnpin for InputSecureFileUploaded
impl UnwindSafe for InputSecureFileUploaded
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