pub struct CustodyReply {
pub use_id: String,
pub rung: Rung,
pub degraded: bool,
pub outcome: Result<CustodyOk, CustodyError>,
}Expand description
The custodian’s reply. Every reply — refusals included — carries the use
id it was recorded under and the rung the credential’s evidence derives,
with degraded set when the resolution is a compatibility shim (legacy
env: refs resolve at r0 degraded; DR-0053 Migration).
Fields§
§use_id: String§rung: Rung§degraded: bool§outcome: Result<CustodyOk, CustodyError>Trait Implementations§
Source§impl Clone for CustodyReply
impl Clone for CustodyReply
Source§fn clone(&self) -> CustodyReply
fn clone(&self) -> CustodyReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustodyReply
impl Debug for CustodyReply
Source§impl<'de> Deserialize<'de> for CustodyReply
impl<'de> Deserialize<'de> for CustodyReply
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 CustodyReply
Source§impl PartialEq for CustodyReply
impl PartialEq for CustodyReply
Source§impl Serialize for CustodyReply
impl Serialize for CustodyReply
impl StructuralPartialEq for CustodyReply
Auto Trait Implementations§
impl Freeze for CustodyReply
impl RefUnwindSafe for CustodyReply
impl Send for CustodyReply
impl Sync for CustodyReply
impl Unpin for CustodyReply
impl UnsafeUnpin for CustodyReply
impl UnwindSafe for CustodyReply
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