pub enum EnginePresentedUseV1 {
Check {
content: String,
},
Retain {
content: String,
},
Expand {
recovery_id: String,
},
}Expand description
What the holder of a capability asks (the use member).
Variants§
Check
May this exact delivered text still be used by this holder now?
Retain
Check, and keep a recovery copy of the text bound to its lineage.
Expand
Hand back the text of a recovery copy, under current authority only.
Implementations§
Source§impl EnginePresentedUseV1
impl EnginePresentedUseV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Form only: a non-empty text within the materialization bound, or a canonical recovery id.
Trait Implementations§
Source§impl Clone for EnginePresentedUseV1
impl Clone for EnginePresentedUseV1
Source§impl Debug for EnginePresentedUseV1
impl Debug for EnginePresentedUseV1
Source§impl<'de> Deserialize<'de> for EnginePresentedUseV1
impl<'de> Deserialize<'de> for EnginePresentedUseV1
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 EnginePresentedUseV1
Source§impl PartialEq for EnginePresentedUseV1
impl PartialEq for EnginePresentedUseV1
Source§impl Serialize for EnginePresentedUseV1
impl Serialize for EnginePresentedUseV1
impl StructuralPartialEq for EnginePresentedUseV1
Auto Trait Implementations§
impl Freeze for EnginePresentedUseV1
impl RefUnwindSafe for EnginePresentedUseV1
impl Send for EnginePresentedUseV1
impl Sync for EnginePresentedUseV1
impl Unpin for EnginePresentedUseV1
impl UnsafeUnpin for EnginePresentedUseV1
impl UnwindSafe for EnginePresentedUseV1
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