pub enum ChannelParticipant {
ChannelParticipant(ChannelParticipant),
ParticipantSelf(ChannelParticipantSelf),
Creator(ChannelParticipantCreator),
Admin(ChannelParticipantAdmin),
Banned(ChannelParticipantBanned),
Left(ChannelParticipantLeft),
}Expand description
Variants§
ChannelParticipant(ChannelParticipant)
ParticipantSelf(ChannelParticipantSelf)
Creator(ChannelParticipantCreator)
Admin(ChannelParticipantAdmin)
Banned(ChannelParticipantBanned)
Left(ChannelParticipantLeft)
Trait Implementations§
Source§impl Clone for ChannelParticipant
impl Clone for ChannelParticipant
Source§fn clone(&self) -> ChannelParticipant
fn clone(&self) -> ChannelParticipant
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 ChannelParticipant
impl Debug for ChannelParticipant
Source§impl Deserializable for ChannelParticipant
impl Deserializable for ChannelParticipant
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<ChannelParticipant> for ChannelParticipant
impl From<ChannelParticipant> for ChannelParticipant
Source§fn from(x: ChannelParticipant) -> Self
fn from(x: ChannelParticipant) -> Self
Converts to this type from the input type.
Source§impl From<ChannelParticipantAdmin> for ChannelParticipant
impl From<ChannelParticipantAdmin> for ChannelParticipant
Source§fn from(x: ChannelParticipantAdmin) -> Self
fn from(x: ChannelParticipantAdmin) -> Self
Converts to this type from the input type.
Source§impl From<ChannelParticipantBanned> for ChannelParticipant
impl From<ChannelParticipantBanned> for ChannelParticipant
Source§fn from(x: ChannelParticipantBanned) -> Self
fn from(x: ChannelParticipantBanned) -> Self
Converts to this type from the input type.
Source§impl From<ChannelParticipantCreator> for ChannelParticipant
impl From<ChannelParticipantCreator> for ChannelParticipant
Source§fn from(x: ChannelParticipantCreator) -> Self
fn from(x: ChannelParticipantCreator) -> Self
Converts to this type from the input type.
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 From<ChannelParticipantSelf> for ChannelParticipant
impl From<ChannelParticipantSelf> for ChannelParticipant
Source§fn from(x: ChannelParticipantSelf) -> Self
fn from(x: ChannelParticipantSelf) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChannelParticipant
impl PartialEq for ChannelParticipant
Source§impl Serializable for ChannelParticipant
impl Serializable for ChannelParticipant
Source§impl TryFrom<ChannelParticipant> for ChannelParticipant
impl TryFrom<ChannelParticipant> for ChannelParticipant
Source§type Error = ChannelParticipant
type Error = ChannelParticipant
The type returned in the event of a conversion error.
Source§impl TryFrom<ChannelParticipant> for ChannelParticipantAdmin
impl TryFrom<ChannelParticipant> for ChannelParticipantAdmin
Source§type Error = ChannelParticipant
type Error = ChannelParticipant
The type returned in the event of a conversion error.
Source§impl TryFrom<ChannelParticipant> for ChannelParticipantBanned
impl TryFrom<ChannelParticipant> for ChannelParticipantBanned
Source§type Error = ChannelParticipant
type Error = ChannelParticipant
The type returned in the event of a conversion error.
Source§impl TryFrom<ChannelParticipant> for ChannelParticipantCreator
impl TryFrom<ChannelParticipant> for ChannelParticipantCreator
Source§type Error = ChannelParticipant
type Error = ChannelParticipant
The type returned in the event of a conversion error.
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.
Source§impl TryFrom<ChannelParticipant> for ChannelParticipantSelf
impl TryFrom<ChannelParticipant> for ChannelParticipantSelf
Source§type Error = ChannelParticipant
type Error = ChannelParticipant
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelParticipant
Auto Trait Implementations§
impl Freeze for ChannelParticipant
impl RefUnwindSafe for ChannelParticipant
impl Send for ChannelParticipant
impl Sync for ChannelParticipant
impl Unpin for ChannelParticipant
impl UnsafeUnpin for ChannelParticipant
impl UnwindSafe for ChannelParticipant
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