pub struct GroupQuery {
pub people: Vec<GroupMatch>,
pub groups: Vec<NamedGroup>,
pub total: Option<u32>,
}Expand description
What query found: people with every group they are in, and groups by name.
Only a signed in admin gets total, how many groups there are.
Fields§
§people: Vec<GroupMatch>§groups: Vec<NamedGroup>§total: Option<u32>Implementations§
Source§impl GroupQuery
impl GroupQuery
pub fn from_json(json: &Value) -> GroupQuery
Trait Implementations§
Source§impl Clone for GroupQuery
impl Clone for GroupQuery
Source§impl Debug for GroupQuery
impl Debug for GroupQuery
Source§impl<'de> Deserialize<'de> for GroupQuery
impl<'de> Deserialize<'de> for GroupQuery
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 GroupQuery
impl Freeze for GroupQuery
impl Move for GroupQuery
impl RefUnwindSafe for GroupQuery
impl Send for GroupQuerywhere
RawVecInner: Send,
impl Sync for GroupQuerywhere
RawVecInner: Sync,
impl Unpin for GroupQuery
impl UnsafeUnpin for GroupQuerywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<GroupMatch>: UnsafeUnpin,
PhantomData<NamedGroup>: UnsafeUnpin,
impl UnwindSafe for GroupQuerywhere
RawVecInner: UnwindSafe,
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