pub struct EnginePresenterGrantV1 {
pub presenter_ref: ProtocolReference,
pub expires_at_unix: u64,
pub capability: Option<String>,
}Expand description
What the Engine tells the caller about its presenter entry.
Fields§
§presenter_ref: ProtocolReferenceContent-free reference of the presenter entry: presenter: and 32
lowercase hex characters. Derived from a stored verifier, never from
the capability. Safe in records.
expires_at_unix: u64End of the capability’s lifetime, Unix seconds.
capability: Option<String>The capability, for issue only. Host-internal secret.
Trait Implementations§
Source§impl Clone for EnginePresenterGrantV1
impl Clone for EnginePresenterGrantV1
Source§impl Debug for EnginePresenterGrantV1
impl Debug for EnginePresenterGrantV1
Source§impl<'de> Deserialize<'de> for EnginePresenterGrantV1
impl<'de> Deserialize<'de> for EnginePresenterGrantV1
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 EnginePresenterGrantV1
Source§impl PartialEq for EnginePresenterGrantV1
impl PartialEq for EnginePresenterGrantV1
Source§impl Serialize for EnginePresenterGrantV1
impl Serialize for EnginePresenterGrantV1
impl StructuralPartialEq for EnginePresenterGrantV1
Auto Trait Implementations§
impl Freeze for EnginePresenterGrantV1
impl RefUnwindSafe for EnginePresenterGrantV1
impl Send for EnginePresenterGrantV1
impl Sync for EnginePresenterGrantV1
impl Unpin for EnginePresenterGrantV1
impl UnsafeUnpin for EnginePresenterGrantV1
impl UnwindSafe for EnginePresenterGrantV1
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