pub struct FlushInactiveOAuth2TokensRequest {
pub not_after: Option<String>,
}
Fields§
§not_after: Option<String>
NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing.
Implementations§
Trait Implementations§
Source§impl Clone for FlushInactiveOAuth2TokensRequest
impl Clone for FlushInactiveOAuth2TokensRequest
Source§fn clone(&self) -> FlushInactiveOAuth2TokensRequest
fn clone(&self) -> FlushInactiveOAuth2TokensRequest
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<'de> Deserialize<'de> for FlushInactiveOAuth2TokensRequest
impl<'de> Deserialize<'de> for FlushInactiveOAuth2TokensRequest
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 FlushInactiveOAuth2TokensRequest
impl PartialEq for FlushInactiveOAuth2TokensRequest
Source§fn eq(&self, other: &FlushInactiveOAuth2TokensRequest) -> bool
fn eq(&self, other: &FlushInactiveOAuth2TokensRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FlushInactiveOAuth2TokensRequest
Auto Trait Implementations§
impl Freeze for FlushInactiveOAuth2TokensRequest
impl RefUnwindSafe for FlushInactiveOAuth2TokensRequest
impl Send for FlushInactiveOAuth2TokensRequest
impl Sync for FlushInactiveOAuth2TokensRequest
impl Unpin for FlushInactiveOAuth2TokensRequest
impl UnwindSafe for FlushInactiveOAuth2TokensRequest
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