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