pub struct PendingKnock {
pub id: String,
pub resource_kind: String,
pub resource_id: String,
pub requester: PrincipalId,
pub relation: String,
pub label: String,
pub requester_user: Option<UserId>,
pub renews: Option<String>,
pub token: String,
pub created_at: i64,
pub expires_at: i64,
}Expand description
A knock waiting for an approver.
Fields§
§id: String§resource_kind: String§resource_id: String§requester: PrincipalId§relation: String§label: String§requester_user: Option<UserId>The user the requester’s standing binding proved, if it presented one.
renews: Option<String>The prior Admit jti this knock renews.
token: StringThe signed Knock, verbatim.
created_at: i64§expires_at: i64Trait Implementations§
Source§impl Clone for PendingKnock
impl Clone for PendingKnock
Source§impl Debug for PendingKnock
impl Debug for PendingKnock
Source§impl<'de> Deserialize<'de> for PendingKnock
impl<'de> Deserialize<'de> for PendingKnock
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
impl Eq for PendingKnock
Source§impl PartialEq for PendingKnock
impl PartialEq for PendingKnock
Source§impl Serialize for PendingKnock
impl Serialize for PendingKnock
impl StructuralPartialEq for PendingKnock
Auto Trait Implementations§
impl Freeze for PendingKnock
impl RefUnwindSafe for PendingKnock
impl Send for PendingKnock
impl Sync for PendingKnock
impl Unpin for PendingKnock
impl UnsafeUnpin for PendingKnock
impl UnwindSafe for PendingKnock
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