pub enum CustodyOk {
Requested {
response: EgressResponse,
},
Signed {
signature_b64: String,
},
Verified {
valid: bool,
},
Derived {
credential: CredentialName,
},
Wrapped {
envelope: Envelope,
},
Unwrapped {
plaintext_b64: String,
label: Value,
},
Minted {
credential: CredentialName,
fingerprint: String,
public: Value,
},
}Expand description
Success payloads, one per operation. None yields sealed material: Derived
and Minted return handles; Unwrapped returns application data that was
whip’s to begin with.
Variants§
Requested
Fields
§
response: EgressResponseSigned
Verified
Fields
Derived
Fields
§
credential: CredentialNameWrapped
Unwrapped
Fields
Minted
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CustodyOk
impl<'de> Deserialize<'de> for CustodyOk
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 CustodyOk
impl StructuralPartialEq for CustodyOk
Auto Trait Implementations§
impl Freeze for CustodyOk
impl RefUnwindSafe for CustodyOk
impl Send for CustodyOk
impl Sync for CustodyOk
impl Unpin for CustodyOk
impl UnsafeUnpin for CustodyOk
impl UnwindSafe for CustodyOk
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