[−][src]Struct ironoxide::group::GroupGetResult
Group information.
Methods
impl GroupGetResult
[src]
pub fn id(&self) -> &GroupId
[src]
unique id of the group (within the segment)
pub fn name(&self) -> Option<&GroupName>
[src]
pub fn group_master_public_key(&self) -> &PublicKey
[src]
pub fn is_admin(&self) -> bool
[src]
true if the calling user is a group administrator
pub fn is_member(&self) -> bool
[src]
true if the calling user is a group member
pub fn created(&self) -> &DateTime<Utc>
[src]
pub fn last_updated(&self) -> &DateTime<Utc>
[src]
pub fn admin_list(&self) -> Option<&Vec<UserId>>
[src]
List of all group admins. Group admins can change group membership.
pub fn member_list(&self) -> Option<&Vec<UserId>>
[src]
List of group members. Members of a group can decrypt values encrypted to the group.
pub fn needs_rotation(&self) -> Option<bool>
[src]
Some(boolean)
indicating if the group needs rotation if the calling user is a group admin.
None
if the calling user is not a group admin.
Trait Implementations
Auto Trait Implementations
impl Send for GroupGetResult
impl Sync for GroupGetResult
impl Unpin for GroupGetResult
impl UnwindSafe for GroupGetResult
impl RefUnwindSafe for GroupGetResult
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,