pub struct GroupEntitlement {
pub group: Option<GraphGroup>,
pub id: Option<String>,
pub last_executed: Option<OffsetDateTime>,
pub license_rule: Option<AccessLevel>,
pub members: Vec<UserEntitlement>,
pub project_entitlements: Vec<ProjectEntitlement>,
pub status: Option<Status>,
}Expand description
A group entity with additional properties including its license, extensions, and project membership
Fields§
§group: Option<GraphGroup>Graph group entity
id: Option<String>The unique identifier which matches the Id of the GraphMember.
last_executed: Option<OffsetDateTime>[Readonly] The last time the group licensing rule was executed (regardless of whether any changes were made).
license_rule: Option<AccessLevel>License assigned to a user
members: Vec<UserEntitlement>Group members. Only used when creating a new group.
project_entitlements: Vec<ProjectEntitlement>Relation between a project and the member’s effective permissions in that project.
status: Option<Status>The status of the group rule.
Implementations§
Trait Implementations§
source§impl Clone for GroupEntitlement
impl Clone for GroupEntitlement
source§fn clone(&self) -> GroupEntitlement
fn clone(&self) -> GroupEntitlement
Returns a copy 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 GroupEntitlement
impl Debug for GroupEntitlement
source§impl Default for GroupEntitlement
impl Default for GroupEntitlement
source§fn default() -> GroupEntitlement
fn default() -> GroupEntitlement
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GroupEntitlement
impl<'de> Deserialize<'de> for GroupEntitlement
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 PartialEq<GroupEntitlement> for GroupEntitlement
impl PartialEq<GroupEntitlement> for GroupEntitlement
source§fn eq(&self, other: &GroupEntitlement) -> bool
fn eq(&self, other: &GroupEntitlement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.