Struct ironoxide::PrivateKeyRotationCheckResult
source · pub struct PrivateKeyRotationCheckResult {
pub rotations_needed: EitherOrBoth<UserId, Vec1<GroupId>>,
}
Expand description
Provides soft rotation capabilities for user and group keys
Fields§
§rotations_needed: EitherOrBoth<UserId, Vec1<GroupId>>
Implementations§
source§impl PrivateKeyRotationCheckResult
impl PrivateKeyRotationCheckResult
pub fn user_rotation_needed(&self) -> Option<&UserId>
pub fn group_rotation_needed(&self) -> Option<&Vec1<GroupId>>
Trait Implementations§
source§impl Clone for PrivateKeyRotationCheckResult
impl Clone for PrivateKeyRotationCheckResult
source§fn clone(&self) -> PrivateKeyRotationCheckResult
fn clone(&self) -> PrivateKeyRotationCheckResult
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 Hash for PrivateKeyRotationCheckResult
impl Hash for PrivateKeyRotationCheckResult
source§impl PartialEq for PrivateKeyRotationCheckResult
impl PartialEq for PrivateKeyRotationCheckResult
source§fn eq(&self, other: &PrivateKeyRotationCheckResult) -> bool
fn eq(&self, other: &PrivateKeyRotationCheckResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrivateKeyRotationCheckResult
impl StructuralEq for PrivateKeyRotationCheckResult
impl StructuralPartialEq for PrivateKeyRotationCheckResult
Auto Trait Implementations§
impl RefUnwindSafe for PrivateKeyRotationCheckResult
impl Send for PrivateKeyRotationCheckResult
impl Sync for PrivateKeyRotationCheckResult
impl Unpin for PrivateKeyRotationCheckResult
impl UnwindSafe for PrivateKeyRotationCheckResult
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