pub enum EnginePresenterRequestV1 {
Issue {
ttl_seconds: u32,
},
Renew,
}Expand description
How the caller wants the sources of this request to be presented.
Variants§
Issue
Mint a new capability with this lifetime.
Renew
Present under a capability the caller already holds. The capability
is never part of this JSON: it reaches the Engine through
--presenter-capability-file.
Trait Implementations§
Source§impl Clone for EnginePresenterRequestV1
impl Clone for EnginePresenterRequestV1
impl Copy for EnginePresenterRequestV1
Source§impl Debug for EnginePresenterRequestV1
impl Debug for EnginePresenterRequestV1
Source§impl<'de> Deserialize<'de> for EnginePresenterRequestV1
impl<'de> Deserialize<'de> for EnginePresenterRequestV1
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 EnginePresenterRequestV1
Source§impl PartialEq for EnginePresenterRequestV1
impl PartialEq for EnginePresenterRequestV1
Source§impl Serialize for EnginePresenterRequestV1
impl Serialize for EnginePresenterRequestV1
impl StructuralPartialEq for EnginePresenterRequestV1
Auto Trait Implementations§
impl Freeze for EnginePresenterRequestV1
impl RefUnwindSafe for EnginePresenterRequestV1
impl Send for EnginePresenterRequestV1
impl Sync for EnginePresenterRequestV1
impl Unpin for EnginePresenterRequestV1
impl UnsafeUnpin for EnginePresenterRequestV1
impl UnwindSafe for EnginePresenterRequestV1
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