pub struct VerifiablePresentation {
pub context: Context,
pub id: Option<String>,
pub verifiable_credential: Vec<VerifiableCredential>,
pub pres_type: Vec<String>,
pub holder: Option<String>,
pub proof: Option<Proofs>,
}Fields§
§context: Context§id: Option<String>§verifiable_credential: Vec<VerifiableCredential>§pres_type: Vec<String>§holder: Option<String>§proof: Option<Proofs>Trait Implementations§
Source§impl Clone for VerifiablePresentation
impl Clone for VerifiablePresentation
Source§fn clone(&self) -> VerifiablePresentation
fn clone(&self) -> VerifiablePresentation
Returns a duplicate of the value. Read more
1.0.0 · 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 VerifiablePresentation
impl Debug for VerifiablePresentation
Source§impl<'de> Deserialize<'de> for VerifiablePresentation
impl<'de> Deserialize<'de> for VerifiablePresentation
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
Source§impl PartialEq for VerifiablePresentation
impl PartialEq for VerifiablePresentation
Source§impl Serialize for VerifiablePresentation
impl Serialize for VerifiablePresentation
impl StructuralPartialEq for VerifiablePresentation
Auto Trait Implementations§
impl Freeze for VerifiablePresentation
impl RefUnwindSafe for VerifiablePresentation
impl Send for VerifiablePresentation
impl Sync for VerifiablePresentation
impl Unpin for VerifiablePresentation
impl UnwindSafe for VerifiablePresentation
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