pub enum RevocationReason {
Unknown,
Manual,
TwoFactorPolicyNonCompliance,
OrganizationDataOwnershipPolicyNonCompliance,
SingleOrgPolicyNonCompliance,
__Unknown(i64),
}Expand description
RevocationReason : The reason a user was revoked from an organization. The reason a user was revoked from an organization.
Variants§
Unknown
Manual
TwoFactorPolicyNonCompliance
OrganizationDataOwnershipPolicyNonCompliance
SingleOrgPolicyNonCompliance
__Unknown(i64)
Unknown value returned from the server. This is used to handle forward compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for RevocationReason
impl Clone for RevocationReason
Source§fn clone(&self) -> RevocationReason
fn clone(&self) -> RevocationReason
Returns a duplicate 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 RevocationReason
impl Debug for RevocationReason
Source§impl Default for RevocationReason
impl Default for RevocationReason
Source§fn default() -> RevocationReason
fn default() -> RevocationReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RevocationReason
impl<'de> Deserialize<'de> for RevocationReason
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RevocationReason
impl Display for RevocationReason
Source§impl Hash for RevocationReason
impl Hash for RevocationReason
Source§impl Ord for RevocationReason
impl Ord for RevocationReason
Source§fn cmp(&self, other: &RevocationReason) -> Ordering
fn cmp(&self, other: &RevocationReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RevocationReason
impl PartialEq for RevocationReason
Source§impl PartialOrd for RevocationReason
impl PartialOrd for RevocationReason
Source§impl Serialize for RevocationReason
impl Serialize for RevocationReason
impl Copy for RevocationReason
impl Eq for RevocationReason
impl StructuralPartialEq for RevocationReason
Auto Trait Implementations§
impl Freeze for RevocationReason
impl RefUnwindSafe for RevocationReason
impl Send for RevocationReason
impl Sync for RevocationReason
impl Unpin for RevocationReason
impl UnsafeUnpin for RevocationReason
impl UnwindSafe for RevocationReason
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.