pub struct ChannelParticipantLeft {
pub peer: Peer,
}Expand description
Generated from:
channelParticipantLeft#1b03f006 peer:Peer = ChannelParticipantFields§
§peer: PeerTrait Implementations§
Source§impl Clone for ChannelParticipantLeft
impl Clone for ChannelParticipantLeft
Source§fn clone(&self) -> ChannelParticipantLeft
fn clone(&self) -> ChannelParticipantLeft
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 ChannelParticipantLeft
impl Debug for ChannelParticipantLeft
Source§impl Deserializable for ChannelParticipantLeft
impl Deserializable for ChannelParticipantLeft
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<ChannelParticipantLeft> for ChannelParticipant
impl From<ChannelParticipantLeft> for ChannelParticipant
Source§fn from(x: ChannelParticipantLeft) -> Self
fn from(x: ChannelParticipantLeft) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelParticipantLeft
impl Identifiable for ChannelParticipantLeft
Source§const CONSTRUCTOR_ID: u32 = 0x1b03f006
const CONSTRUCTOR_ID: u32 = 0x1b03f006
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelParticipantLeft
impl PartialEq for ChannelParticipantLeft
Source§impl TryFrom<ChannelParticipant> for ChannelParticipantLeft
impl TryFrom<ChannelParticipant> for ChannelParticipantLeft
Source§type Error = ChannelParticipant
type Error = ChannelParticipant
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelParticipantLeft
Auto Trait Implementations§
impl Freeze for ChannelParticipantLeft
impl RefUnwindSafe for ChannelParticipantLeft
impl Send for ChannelParticipantLeft
impl Sync for ChannelParticipantLeft
impl Unpin for ChannelParticipantLeft
impl UnsafeUnpin for ChannelParticipantLeft
impl UnwindSafe for ChannelParticipantLeft
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