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