pub enum InputEncryptedFile {
Empty,
Uploaded(InputEncryptedFileUploaded),
InputEncryptedFile(InputEncryptedFile),
BigUploaded(InputEncryptedFileBigUploaded),
}Expand description
Variants§
Empty
Uploaded(InputEncryptedFileUploaded)
InputEncryptedFile(InputEncryptedFile)
BigUploaded(InputEncryptedFileBigUploaded)
Trait Implementations§
Source§impl Clone for InputEncryptedFile
impl Clone for InputEncryptedFile
Source§fn clone(&self) -> InputEncryptedFile
fn clone(&self) -> InputEncryptedFile
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 InputEncryptedFile
impl Debug for InputEncryptedFile
Source§impl Deserializable for InputEncryptedFile
impl Deserializable for InputEncryptedFile
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<InputEncryptedFile> for InputEncryptedFile
impl From<InputEncryptedFile> for InputEncryptedFile
Source§fn from(x: InputEncryptedFile) -> Self
fn from(x: InputEncryptedFile) -> Self
Converts to this type from the input type.
Source§impl From<InputEncryptedFileBigUploaded> for InputEncryptedFile
impl From<InputEncryptedFileBigUploaded> for InputEncryptedFile
Source§fn from(x: InputEncryptedFileBigUploaded) -> Self
fn from(x: InputEncryptedFileBigUploaded) -> Self
Converts to this type from the input type.
Source§impl From<InputEncryptedFileEmpty> for InputEncryptedFile
impl From<InputEncryptedFileEmpty> for InputEncryptedFile
Source§fn from(_x: InputEncryptedFileEmpty) -> Self
fn from(_x: InputEncryptedFileEmpty) -> Self
Converts to this type from the input type.
Source§impl From<InputEncryptedFileUploaded> for InputEncryptedFile
impl From<InputEncryptedFileUploaded> for InputEncryptedFile
Source§fn from(x: InputEncryptedFileUploaded) -> Self
fn from(x: InputEncryptedFileUploaded) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputEncryptedFile
impl PartialEq for InputEncryptedFile
Source§impl Serializable for InputEncryptedFile
impl Serializable for InputEncryptedFile
Source§impl TryFrom<InputEncryptedFile> for InputEncryptedFile
impl TryFrom<InputEncryptedFile> for InputEncryptedFile
Source§type Error = InputEncryptedFile
type Error = InputEncryptedFile
The type returned in the event of a conversion error.
Source§impl TryFrom<InputEncryptedFile> for InputEncryptedFileBigUploaded
impl TryFrom<InputEncryptedFile> for InputEncryptedFileBigUploaded
Source§type Error = InputEncryptedFile
type Error = InputEncryptedFile
The type returned in the event of a conversion error.
Source§impl TryFrom<InputEncryptedFile> for InputEncryptedFileUploaded
impl TryFrom<InputEncryptedFile> for InputEncryptedFileUploaded
Source§type Error = InputEncryptedFile
type Error = InputEncryptedFile
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputEncryptedFile
Auto Trait Implementations§
impl Freeze for InputEncryptedFile
impl RefUnwindSafe for InputEncryptedFile
impl Send for InputEncryptedFile
impl Sync for InputEncryptedFile
impl Unpin for InputEncryptedFile
impl UnsafeUnpin for InputEncryptedFile
impl UnwindSafe for InputEncryptedFile
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