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