pub struct GroupInformation {
pub id: u64,
pub name: String,
pub description: String,
pub owner: Option<GroupUser>,
pub shout: Option<GroupShout>,
pub member_count: Option<u64>,
pub premium_only: bool,
pub is_public: bool,
pub is_verified: bool,
}Fields§
§id: u64§name: String§description: String§owner: Option<GroupUser>§shout: Option<GroupShout>§member_count: Option<u64>§is_public: bool§is_verified: boolTrait Implementations§
Source§impl Clone for GroupInformation
impl Clone for GroupInformation
Source§fn clone(&self) -> GroupInformation
fn clone(&self) -> GroupInformation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GroupInformation
impl Debug for GroupInformation
Source§impl<'de> Deserialize<'de> for GroupInformation
impl<'de> Deserialize<'de> for GroupInformation
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
impl Eq for GroupInformation
Source§impl PartialEq for GroupInformation
impl PartialEq for GroupInformation
Source§fn eq(&self, other: &GroupInformation) -> bool
fn eq(&self, other: &GroupInformation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GroupInformation
impl Serialize for GroupInformation
impl StructuralPartialEq for GroupInformation
Auto Trait Implementations§
impl Freeze for GroupInformation
impl RefUnwindSafe for GroupInformation
impl Send for GroupInformation
impl Sync for GroupInformation
impl Unpin for GroupInformation
impl UnsafeUnpin for GroupInformation
impl UnwindSafe for GroupInformation
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