pub struct ChannelAdminLogEventActionChangePhoto {
pub prev_photo: Photo,
pub new_photo: Photo,
}Expand description
channelAdminLogEventActionChangePhoto
Generated from:
channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventActionFields§
§prev_photo: Photo§new_photo: PhotoTrait Implementations§
Source§impl Clone for ChannelAdminLogEventActionChangePhoto
impl Clone for ChannelAdminLogEventActionChangePhoto
Source§fn clone(&self) -> ChannelAdminLogEventActionChangePhoto
fn clone(&self) -> ChannelAdminLogEventActionChangePhoto
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 Deserializable for ChannelAdminLogEventActionChangePhoto
impl Deserializable for ChannelAdminLogEventActionChangePhoto
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<ChannelAdminLogEventActionChangePhoto> for ChannelAdminLogEventAction
impl From<ChannelAdminLogEventActionChangePhoto> for ChannelAdminLogEventAction
Source§fn from(x: ChannelAdminLogEventActionChangePhoto) -> Self
fn from(x: ChannelAdminLogEventActionChangePhoto) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelAdminLogEventActionChangePhoto
impl Identifiable for ChannelAdminLogEventActionChangePhoto
Source§const CONSTRUCTOR_ID: u32 = 0x434bd2af
const CONSTRUCTOR_ID: u32 = 0x434bd2af
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelAdminLogEventActionChangePhoto
impl PartialEq for ChannelAdminLogEventActionChangePhoto
Source§fn eq(&self, other: &ChannelAdminLogEventActionChangePhoto) -> bool
fn eq(&self, other: &ChannelAdminLogEventActionChangePhoto) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<ChannelAdminLogEventAction> for ChannelAdminLogEventActionChangePhoto
impl TryFrom<ChannelAdminLogEventAction> for ChannelAdminLogEventActionChangePhoto
Source§type Error = ChannelAdminLogEventAction
type Error = ChannelAdminLogEventAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelAdminLogEventActionChangePhoto
Auto Trait Implementations§
impl Freeze for ChannelAdminLogEventActionChangePhoto
impl RefUnwindSafe for ChannelAdminLogEventActionChangePhoto
impl Send for ChannelAdminLogEventActionChangePhoto
impl Sync for ChannelAdminLogEventActionChangePhoto
impl Unpin for ChannelAdminLogEventActionChangePhoto
impl UnsafeUnpin for ChannelAdminLogEventActionChangePhoto
impl UnwindSafe for ChannelAdminLogEventActionChangePhoto
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