pub struct RefreshTokenRevocationPolicy {
pub on_login_prevented: Option<bool>,
pub on_multi_factor_enable: Option<bool>,
pub on_one_time_token_reuse: Option<bool>,
pub on_password_changed: Option<bool>,
}
Expand description
RefreshTokenRevocationPolicy :
Fields§
§on_login_prevented: Option<bool>
§on_multi_factor_enable: Option<bool>
§on_one_time_token_reuse: Option<bool>
§on_password_changed: Option<bool>
Implementations§
Source§impl RefreshTokenRevocationPolicy
impl RefreshTokenRevocationPolicy
Sourcepub fn new() -> RefreshTokenRevocationPolicy
pub fn new() -> RefreshTokenRevocationPolicy
Trait Implementations§
Source§impl Clone for RefreshTokenRevocationPolicy
impl Clone for RefreshTokenRevocationPolicy
Source§fn clone(&self) -> RefreshTokenRevocationPolicy
fn clone(&self) -> RefreshTokenRevocationPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RefreshTokenRevocationPolicy
impl Debug for RefreshTokenRevocationPolicy
Source§impl Default for RefreshTokenRevocationPolicy
impl Default for RefreshTokenRevocationPolicy
Source§fn default() -> RefreshTokenRevocationPolicy
fn default() -> RefreshTokenRevocationPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefreshTokenRevocationPolicy
impl<'de> Deserialize<'de> for RefreshTokenRevocationPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RefreshTokenRevocationPolicy
impl PartialEq for RefreshTokenRevocationPolicy
Source§fn eq(&self, other: &RefreshTokenRevocationPolicy) -> bool
fn eq(&self, other: &RefreshTokenRevocationPolicy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RefreshTokenRevocationPolicy
Auto Trait Implementations§
impl Freeze for RefreshTokenRevocationPolicy
impl RefUnwindSafe for RefreshTokenRevocationPolicy
impl Send for RefreshTokenRevocationPolicy
impl Sync for RefreshTokenRevocationPolicy
impl Unpin for RefreshTokenRevocationPolicy
impl UnwindSafe for RefreshTokenRevocationPolicy
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