pub struct GroupSummary {
pub id: String,
pub name: String,
pub icon: Option<String>,
pub member_count: u32,
}Expand description
A group as anyone signed in may see it: no balance, no member list.
member_count counts everyone in it, directly or through a nested group.
Fields§
§id: String§name: String§icon: Option<String>§member_count: u32Implementations§
Source§impl GroupSummary
impl GroupSummary
pub fn from_json(json: &Value) -> GroupSummary
Trait Implementations§
Source§impl Clone for GroupSummary
impl Clone for GroupSummary
Source§impl Debug for GroupSummary
impl Debug for GroupSummary
Source§impl<'de> Deserialize<'de> for GroupSummary
impl<'de> Deserialize<'de> for GroupSummary
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
Auto Trait Implementations§
impl Forget for GroupSummary
impl Freeze for GroupSummary
impl RefUnwindSafe for GroupSummary
impl Send for GroupSummary
impl Sync for GroupSummary
impl Unpin for GroupSummary
impl UnsafeUnpin for GroupSummary
impl UnwindSafe for GroupSummary
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