pub struct InputPhoto {
pub id: i64,
pub access_hash: i64,
pub file_reference: Vec<u8>,
}Expand description
Generated from the following TL definition:
inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhotoFields§
§id: i64§access_hash: i64§file_reference: Vec<u8>Trait Implementations§
Source§impl Clone for InputPhoto
impl Clone for InputPhoto
Source§fn clone(&self) -> InputPhoto
fn clone(&self) -> InputPhoto
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 InputPhoto
impl Debug for InputPhoto
Source§impl Deserializable for InputPhoto
impl Deserializable for InputPhoto
Source§impl From<InputPhoto> for InputPhoto
impl From<InputPhoto> for InputPhoto
Source§fn from(x: InputPhoto) -> Self
fn from(x: InputPhoto) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputPhoto
impl Identifiable for InputPhoto
Source§const CONSTRUCTOR_ID: u32 = 1001634122
const CONSTRUCTOR_ID: u32 = 1001634122
The unique identifier for the type.
Source§impl PartialEq for InputPhoto
impl PartialEq for InputPhoto
Source§impl Serializable for InputPhoto
impl Serializable for InputPhoto
Source§impl TryFrom<InputPhoto> for InputPhoto
impl TryFrom<InputPhoto> for InputPhoto
impl StructuralPartialEq for InputPhoto
Auto Trait Implementations§
impl Freeze for InputPhoto
impl RefUnwindSafe for InputPhoto
impl Send for InputPhoto
impl Sync for InputPhoto
impl Unpin for InputPhoto
impl UnsafeUnpin for InputPhoto
impl UnwindSafe for InputPhoto
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