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