pub struct PhotoEmpty {
pub id: i64,
}Expand description
Fields§
§id: i64Trait Implementations§
Source§impl Clone for PhotoEmpty
impl Clone for PhotoEmpty
Source§fn clone(&self) -> PhotoEmpty
fn clone(&self) -> PhotoEmpty
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 PhotoEmpty
impl Debug for PhotoEmpty
Source§impl Deserializable for PhotoEmpty
impl Deserializable for PhotoEmpty
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<PhotoEmpty> for Photo
impl From<PhotoEmpty> for Photo
Source§fn from(x: PhotoEmpty) -> Self
fn from(x: PhotoEmpty) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PhotoEmpty
impl Identifiable for PhotoEmpty
Source§const CONSTRUCTOR_ID: u32 = 0x2331b22d
const CONSTRUCTOR_ID: u32 = 0x2331b22d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PhotoEmpty
impl PartialEq for PhotoEmpty
Source§impl Serializable for PhotoEmpty
impl Serializable for PhotoEmpty
Source§impl TryFrom<Photo> for PhotoEmpty
impl TryFrom<Photo> for PhotoEmpty
impl StructuralPartialEq for PhotoEmpty
Auto Trait Implementations§
impl Freeze for PhotoEmpty
impl RefUnwindSafe for PhotoEmpty
impl Send for PhotoEmpty
impl Sync for PhotoEmpty
impl Unpin for PhotoEmpty
impl UnsafeUnpin for PhotoEmpty
impl UnwindSafe for PhotoEmpty
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