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