Struct ironoxide::group::GroupMetaResult
source · pub struct GroupMetaResult { /* private fields */ }
Expand description
Abbreviated group metadata.
Result from GroupListResult.result() and group_update_name.
Implementations§
source§impl GroupMetaResult
impl GroupMetaResult
sourcepub fn created(&self) -> &OffsetDateTime
pub fn created(&self) -> &OffsetDateTime
Date and time when the group was created
sourcepub fn last_updated(&self) -> &OffsetDateTime
pub fn last_updated(&self) -> &OffsetDateTime
Date and time when the group was last updated
sourcepub fn group_master_public_key(&self) -> &PublicKey
pub fn group_master_public_key(&self) -> &PublicKey
Public key for encrypting to the group
sourcepub fn needs_rotation(&self) -> Option<bool>
pub fn needs_rotation(&self) -> Option<bool>
Whether the group’s private key needs rotation. Can only be accessed by a group administrator.
Some(bool)
- Indicates whether the group’s private key needs rotation.None
- The calling user does not have permission to view this.
Trait Implementations§
source§impl Clone for GroupMetaResult
impl Clone for GroupMetaResult
source§fn clone(&self) -> GroupMetaResult
fn clone(&self) -> GroupMetaResult
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 GroupMetaResult
impl Debug for GroupMetaResult
source§impl Hash for GroupMetaResult
impl Hash for GroupMetaResult
source§impl PartialEq for GroupMetaResult
impl PartialEq for GroupMetaResult
source§fn eq(&self, other: &GroupMetaResult) -> bool
fn eq(&self, other: &GroupMetaResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GroupMetaResult
impl StructuralEq for GroupMetaResult
impl StructuralPartialEq for GroupMetaResult
Auto Trait Implementations§
impl RefUnwindSafe for GroupMetaResult
impl Send for GroupMetaResult
impl Sync for GroupMetaResult
impl Unpin for GroupMetaResult
impl UnwindSafe for GroupMetaResult
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more