pub struct InputSecureFileLocation {
pub id: i64,
pub access_hash: i64,
}Expand description
Generated from:
inputSecureFileLocation#cbc7ee28 id:long access_hash:long = InputFileLocationFields§
§id: i64§access_hash: i64Trait Implementations§
Source§impl Clone for InputSecureFileLocation
impl Clone for InputSecureFileLocation
Source§fn clone(&self) -> InputSecureFileLocation
fn clone(&self) -> InputSecureFileLocation
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 InputSecureFileLocation
impl Debug for InputSecureFileLocation
Source§impl Deserializable for InputSecureFileLocation
impl Deserializable for InputSecureFileLocation
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<InputSecureFileLocation> for InputFileLocation
impl From<InputSecureFileLocation> for InputFileLocation
Source§fn from(x: InputSecureFileLocation) -> Self
fn from(x: InputSecureFileLocation) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputSecureFileLocation
impl Identifiable for InputSecureFileLocation
Source§const CONSTRUCTOR_ID: u32 = 0xcbc7ee28
const CONSTRUCTOR_ID: u32 = 0xcbc7ee28
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputSecureFileLocation
impl PartialEq for InputSecureFileLocation
Source§impl TryFrom<InputFileLocation> for InputSecureFileLocation
impl TryFrom<InputFileLocation> for InputSecureFileLocation
Source§type Error = InputFileLocation
type Error = InputFileLocation
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputSecureFileLocation
Auto Trait Implementations§
impl Freeze for InputSecureFileLocation
impl RefUnwindSafe for InputSecureFileLocation
impl Send for InputSecureFileLocation
impl Sync for InputSecureFileLocation
impl Unpin for InputSecureFileLocation
impl UnsafeUnpin for InputSecureFileLocation
impl UnwindSafe for InputSecureFileLocation
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