[][src]Struct ironoxide::group::GroupCreateResult

pub struct GroupCreateResult { /* fields omitted */ }

Full metadata for a newly created group.

Result from group_create.

Implementations

impl GroupCreateResult[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 owner(&self) -> &UserId[src]

Owner of the group

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

List of all group administrators

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

List of all group members

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 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 GroupCreateResult[src]

impl Debug for GroupCreateResult[src]

impl Eq for GroupCreateResult[src]

impl Hash for GroupCreateResult[src]

impl PartialEq<GroupCreateResult> for GroupCreateResult[src]

impl StructuralEq for GroupCreateResult[src]

impl StructuralPartialEq for GroupCreateResult[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
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> 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>,