[−][src]Struct ironoxide::group::GroupCreateResult
Methods
impl GroupCreateResult
[src]
pub fn id(&self) -> &GroupId
[src]
A single document grant/revoke failure for a user or group.
pub fn name(&self) -> Option<&GroupName>
[src]
Name of the group
pub fn group_master_public_key(&self) -> &PublicKey
[src]
Public key for encrypting to the group
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 owner(&self) -> &UserId
[src]
owner of the group
pub fn admins(&self) -> &Vec<UserId>
[src]
List of all group admins. Group admins can change group membership.
pub fn members(&self) -> &Vec<UserId>
[src]
List of group members. Members of a group can decrypt values encrypted to the group.
pub fn created(&self) -> &DateTime<Utc>
[src]
Date and time of when the group was created
pub fn last_updated(&self) -> &DateTime<Utc>
[src]
Date and time of when the group was last updated
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
impl Clone for GroupCreateResult
[src]
fn clone(&self) -> GroupCreateResult
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GroupCreateResult
[src]
impl PartialEq<GroupCreateResult> for GroupCreateResult
[src]
fn eq(&self, other: &GroupCreateResult) -> bool
[src]
fn ne(&self, other: &GroupCreateResult) -> bool
[src]
impl StructuralPartialEq for GroupCreateResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for GroupCreateResult
impl Send for GroupCreateResult
impl Sync for GroupCreateResult
impl Unpin for GroupCreateResult
impl UnwindSafe for GroupCreateResult
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,