pub struct ConnectionRefresh {
pub connection_id: String,
pub refreshed_at: DateTime<Utc>,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
The journaled token-material update (output of
RunEventKind::ConnectionRefreshed):
new material beneath the same consent set — a recorded credential
rotation. Names the connection and the new expiry; never the bytes.
Fields§
§connection_id: StringThe connection whose material rotated.
refreshed_at: DateTime<Utc>When the new material was sealed.
expires_at: Option<DateTime<Utc>>The new access token’s expiry, when the provider declares one.
Trait Implementations§
Source§impl Clone for ConnectionRefresh
impl Clone for ConnectionRefresh
Source§impl Debug for ConnectionRefresh
impl Debug for ConnectionRefresh
Source§impl<'de> Deserialize<'de> for ConnectionRefresh
impl<'de> Deserialize<'de> for ConnectionRefresh
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 ConnectionRefresh
impl PartialEq for ConnectionRefresh
Source§impl Serialize for ConnectionRefresh
impl Serialize for ConnectionRefresh
impl StructuralPartialEq for ConnectionRefresh
Auto Trait Implementations§
impl Freeze for ConnectionRefresh
impl RefUnwindSafe for ConnectionRefresh
impl Send for ConnectionRefresh
impl Sync for ConnectionRefresh
impl Unpin for ConnectionRefresh
impl UnsafeUnpin for ConnectionRefresh
impl UnwindSafe for ConnectionRefresh
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