[−][src]Struct ironoxide::blocking::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]
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 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 owner(&self) -> Option<&UserId>
[src]
The owner of the group. The group owner cannot be removed as an admin. 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 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
impl Clone for GroupGetResult
[src]
fn clone(&self) -> GroupGetResult
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GroupGetResult
[src]
impl Eq for GroupGetResult
[src]
impl Hash for GroupGetResult
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<GroupGetResult> for GroupGetResult
[src]
fn eq(&self, other: &GroupGetResult) -> bool
[src]
fn ne(&self, other: &GroupGetResult) -> bool
[src]
impl StructuralEq for GroupGetResult
[src]
impl StructuralPartialEq for GroupGetResult
[src]
Auto Trait Implementations
impl RefUnwindSafe for GroupGetResult
impl Send for GroupGetResult
impl Sync for GroupGetResult
impl Unpin for GroupGetResult
impl UnwindSafe for GroupGetResult
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<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[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>,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,