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