pub struct MessageActionChatEditPhoto {
pub photo: Photo,
}Expand description
Generated from:
messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageActionFields§
§photo: PhotoTrait Implementations§
Source§impl Clone for MessageActionChatEditPhoto
impl Clone for MessageActionChatEditPhoto
Source§fn clone(&self) -> MessageActionChatEditPhoto
fn clone(&self) -> MessageActionChatEditPhoto
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 MessageActionChatEditPhoto
impl Debug for MessageActionChatEditPhoto
Source§impl Deserializable for MessageActionChatEditPhoto
impl Deserializable for MessageActionChatEditPhoto
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<MessageActionChatEditPhoto> for MessageAction
impl From<MessageActionChatEditPhoto> for MessageAction
Source§fn from(x: MessageActionChatEditPhoto) -> Self
fn from(x: MessageActionChatEditPhoto) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionChatEditPhoto
impl Identifiable for MessageActionChatEditPhoto
Source§const CONSTRUCTOR_ID: u32 = 0x7fcb13a8
const CONSTRUCTOR_ID: u32 = 0x7fcb13a8
The constructor ID as specified in the TL schema.
Source§impl TryFrom<MessageAction> for MessageActionChatEditPhoto
impl TryFrom<MessageAction> for MessageActionChatEditPhoto
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionChatEditPhoto
Auto Trait Implementations§
impl Freeze for MessageActionChatEditPhoto
impl RefUnwindSafe for MessageActionChatEditPhoto
impl Send for MessageActionChatEditPhoto
impl Sync for MessageActionChatEditPhoto
impl Unpin for MessageActionChatEditPhoto
impl UnsafeUnpin for MessageActionChatEditPhoto
impl UnwindSafe for MessageActionChatEditPhoto
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