pub struct Photo {
pub photo: Photo,
pub users: Vec<User>,
}Expand description
Fields§
§photo: Photo§users: Vec<User>Trait Implementations§
Source§impl Deserializable for Photo
impl Deserializable for Photo
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 Identifiable for Photo
impl Identifiable for Photo
Source§const CONSTRUCTOR_ID: u32 = 0x20212ca8
const CONSTRUCTOR_ID: u32 = 0x20212ca8
The constructor ID as specified in the TL schema.
Source§impl Serializable for Photo
impl Serializable for Photo
impl StructuralPartialEq for Photo
Auto Trait Implementations§
impl Freeze for Photo
impl RefUnwindSafe for Photo
impl Send for Photo
impl Sync for Photo
impl Unpin for Photo
impl UnsafeUnpin for Photo
impl UnwindSafe for Photo
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