pub struct VerdictWith {
pub role: Option<String>,
pub obligations: Option<Value>,
pub vmc: Option<Value>,
pub role_vec: Option<Value>,
pub bundle_ref: Option<Value>,
pub code: Option<String>,
pub reason: Option<String>,
pub queue: Option<String>,
pub needs: Vec<String>,
pub presentation_definition: Option<Value>,
}Expand description
The effect-dependent detail of a Verdict. Modelled as one flat
struct with optional fields (rather than an enum) so the wire object is
stable and additive across ceremonies; only the fields relevant to the
effect are populated.
Fields§
§role: Option<String>§obligations: Option<Value>§vmc: Option<Value>The issued Verifiable Membership Credential, returned inline on an
auto-admit allow over REST (over DIDComm it is delivered in a
follow-up message and this is omitted).
role_vec: Option<Value>The issued role VEC — same delivery story as Self::vmc.
bundle_ref: Option<Value>Sealed-transfer pointer to the issued credential bundle — added by the host on issuing ceremonies that seal, not emitted by the policy.
code: Option<String>§reason: Option<String>§queue: Option<String>§needs: Vec<String>§presentation_definition: Option<Value>Trait Implementations§
Source§impl Clone for VerdictWith
impl Clone for VerdictWith
Source§fn clone(&self) -> VerdictWith
fn clone(&self) -> VerdictWith
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 VerdictWith
impl Debug for VerdictWith
Source§impl Default for VerdictWith
impl Default for VerdictWith
Source§fn default() -> VerdictWith
fn default() -> VerdictWith
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerdictWith
impl<'de> Deserialize<'de> for VerdictWith
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerdictWith, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerdictWith, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for VerdictWith
impl Serialize for VerdictWith
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for VerdictWith
impl RefUnwindSafe for VerdictWith
impl Send for VerdictWith
impl Sync for VerdictWith
impl Unpin for VerdictWith
impl UnsafeUnpin for VerdictWith
impl UnwindSafe for VerdictWith
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