pub struct Group {
pub id: String,
pub groupid: Option<String>,
pub name: String,
pub links: Links,
pub organization: Organization,
pub scopes: Option<Scope>,
pub scoped: bool,
pub group_type: Type,
}Expand description
Information returned about a Group resource
Fields§
§id: StringGroup ID
groupid: Option<String>Authority-unique identifier that may be set for groups that are owned by a third-party authority. This field is currently present but unused for first-party-authority groups.
name: StringGroup name
links: LinksURL to the group’s main (activity) page
organization: OrganizationThe organization to which this group belongs.
scopes: Option<Scope>Information about the URL restrictions for annotations within this group.
scoped: boolWhether or not this group has URL restrictions for documents that may be annotated within it. Non-scoped groups allow annotation to documents at any URL
group_type: TypeIs the groyp private, open, or restricted
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
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 StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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