pub struct GroupChannel {
pub id: ChannelId,
pub recipients: Vec<UserId>,
pub name: String,
pub owner: UserId,
pub description: Option<String>,
pub last_message_id: Option<MessageId>,
pub icon: Option<Attachment>,
pub permissions: Option<ChannelPermissions>,
pub nsfw: Option<bool>,
pub nonce: Option<String>,
}Fields§
§id: ChannelId§recipients: Vec<UserId>List of user IDs who are participating in this group
name: StringGroup name
owner: UserIdUser ID of group owner
description: Option<String>§last_message_id: Option<MessageId>§icon: Option<Attachment>§permissions: Option<ChannelPermissions>§nsfw: Option<bool>§nonce: Option<String>Trait Implementations§
Source§impl Clone for GroupChannel
impl Clone for GroupChannel
Source§fn clone(&self) -> GroupChannel
fn clone(&self) -> GroupChannel
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 GroupChannel
impl Debug for GroupChannel
Source§impl<'de> Deserialize<'de> for GroupChannel
impl<'de> Deserialize<'de> for GroupChannel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for GroupChannel
impl Hash for GroupChannel
Source§impl Ord for GroupChannel
impl Ord for GroupChannel
Source§fn cmp(&self, other: &GroupChannel) -> Ordering
fn cmp(&self, other: &GroupChannel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GroupChannel
impl PartialEq for GroupChannel
Source§impl PartialOrd for GroupChannel
impl PartialOrd for GroupChannel
Source§impl Serialize for GroupChannel
impl Serialize for GroupChannel
impl Eq for GroupChannel
impl StructuralPartialEq for GroupChannel
Auto Trait Implementations§
impl Freeze for GroupChannel
impl RefUnwindSafe for GroupChannel
impl Send for GroupChannel
impl Sync for GroupChannel
impl Unpin for GroupChannel
impl UnwindSafe for GroupChannel
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