pub struct AuthHistoryRecord {
pub data: Option<AuthData>,
pub version: OffsetDateTime,
}Expand description
A record of the authorization’s data at the time it was updated or defined
This provides historical versioning of auth constraints, allowing the system to track changes to auth parameters over time.
Fields§
§data: Option<AuthData>The authorization constraints, or None if the auth was deactivated
version: OffsetDateTimeThe timestamp when this version was created
Trait Implementations§
Source§impl ComposeSchema for AuthHistoryRecord
impl ComposeSchema for AuthHistoryRecord
Source§impl Debug for AuthHistoryRecord
impl Debug for AuthHistoryRecord
Source§impl<'de> Deserialize<'de> for AuthHistoryRecord
impl<'de> Deserialize<'de> for AuthHistoryRecord
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 AuthHistoryRecord
impl PartialEq for AuthHistoryRecord
Source§impl Serialize for AuthHistoryRecord
impl Serialize for AuthHistoryRecord
Source§impl ToSchema for AuthHistoryRecord
impl ToSchema for AuthHistoryRecord
impl StructuralPartialEq for AuthHistoryRecord
Auto Trait Implementations§
impl Freeze for AuthHistoryRecord
impl RefUnwindSafe for AuthHistoryRecord
impl Send for AuthHistoryRecord
impl Sync for AuthHistoryRecord
impl Unpin for AuthHistoryRecord
impl UnwindSafe for AuthHistoryRecord
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more