pub struct GroupRelation {
pub display_name: Option<String>,
pub group: Option<String>,
pub group_key: Option<EntityKey>,
pub labels: Option<HashMap<String, String>>,
pub relation_type: Option<String>,
pub roles: Option<Vec<TransitiveMembershipRole>>,
}Expand description
Message representing a transitive group of a user or a group.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>Display name for this group.
group: Option<String>Resource name for this group.
group_key: Option<EntityKey>Entity key has an id and a namespace. In case of discussion forums, the id will be an email address without a namespace.
labels: Option<HashMap<String, String>>Labels for Group resource.
relation_type: Option<String>The relation between the member and the transitive group.
roles: Option<Vec<TransitiveMembershipRole>>Membership roles of the member for the group.
Trait Implementations§
Source§impl Clone for GroupRelation
impl Clone for GroupRelation
Source§fn clone(&self) -> GroupRelation
fn clone(&self) -> GroupRelation
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 GroupRelation
impl Debug for GroupRelation
Source§impl Default for GroupRelation
impl Default for GroupRelation
Source§fn default() -> GroupRelation
fn default() -> GroupRelation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupRelation
impl<'de> Deserialize<'de> for GroupRelation
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 Serialize for GroupRelation
impl Serialize for GroupRelation
impl Part for GroupRelation
Auto Trait Implementations§
impl Freeze for GroupRelation
impl RefUnwindSafe for GroupRelation
impl Send for GroupRelation
impl Sync for GroupRelation
impl Unpin for GroupRelation
impl UnwindSafe for GroupRelation
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