pub struct ConnectionRevocation {
pub connection_id: String,
pub grant: BTreeSet<String>,
pub revoked_at: DateTime<Utc>,
pub reason: Option<String>,
}Expand description
The journaled revocation (output of
RunEventKind::ConnectionRevoked).
The status flip and this event commit together; outstanding handles
fail at their next use.
Fields§
§connection_id: StringThe revoked connection.
grant: BTreeSet<String>The consent scope set that stopped holding — the revoked grant.
revoked_at: DateTime<Utc>When the revocation was recorded.
reason: Option<String>The operator’s reason, when given.
Trait Implementations§
Source§impl Clone for ConnectionRevocation
impl Clone for ConnectionRevocation
Source§impl Debug for ConnectionRevocation
impl Debug for ConnectionRevocation
Source§impl<'de> Deserialize<'de> for ConnectionRevocation
impl<'de> Deserialize<'de> for ConnectionRevocation
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 ConnectionRevocation
impl PartialEq for ConnectionRevocation
Source§impl Serialize for ConnectionRevocation
impl Serialize for ConnectionRevocation
impl StructuralPartialEq for ConnectionRevocation
Auto Trait Implementations§
impl Freeze for ConnectionRevocation
impl RefUnwindSafe for ConnectionRevocation
impl Send for ConnectionRevocation
impl Sync for ConnectionRevocation
impl Unpin for ConnectionRevocation
impl UnsafeUnpin for ConnectionRevocation
impl UnwindSafe for ConnectionRevocation
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