[][src]Struct ironoxide::group::GroupGetResult

pub struct GroupGetResult { /* fields omitted */ }

Full metadata for a group.

Result from group_get_metadata.

Implementations

impl GroupGetResult[src]

pub fn id(&self) -> &GroupId[src]

ID of the 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 created(&self) -> &DateTime<Utc>[src]

Date and time when the group was created

pub fn last_updated(&self) -> &DateTime<Utc>[src]

Date and time when the group was last updated

pub fn owner(&self) -> Option<&UserId>[src]

The owner of the group - Some(UserId) - The ID of the group owner. - None - The calling user is not a member of the group and cannot view the owner.

pub fn admin_list(&self) -> Option<&Vec<UserId>>[src]

List of all group administrators

pub fn member_list(&self) -> Option<&Vec<UserId>>[src]

List of all group members

pub fn needs_rotation(&self) -> Option<bool>[src]

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

impl Clone for GroupGetResult[src]

impl Debug for GroupGetResult[src]

impl Eq for GroupGetResult[src]

impl Hash for GroupGetResult[src]

impl PartialEq<GroupGetResult> for GroupGetResult[src]

impl StructuralEq for GroupGetResult[src]

impl StructuralPartialEq for GroupGetResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,