pub enum PresentationRequest {
PresentationRequestV1(PresentationRequestPayload),
PresentationRequestV2(PresentationRequestPayload),
}Variants§
PresentationRequestV1(PresentationRequestPayload)
PresentationRequestV2(PresentationRequestPayload)
Implementations§
Source§impl PresentationRequest
impl PresentationRequest
pub fn value(&self) -> &PresentationRequestPayload
pub fn version(&self) -> PresentationRequestVersion
Source§impl PresentationRequest
impl PresentationRequest
pub fn to_unqualified(self) -> PresentationRequest
Trait Implementations§
Source§impl Debug for PresentationRequest
impl Debug for PresentationRequest
Source§impl<'de> Deserialize<'de> for PresentationRequest
Available on crate feature serde only.
impl<'de> Deserialize<'de> for PresentationRequest
Available on crate feature
serde only.Source§fn deserialize<D>(
deserializer: D,
) -> Result<PresentationRequest, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<PresentationRequest, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PresentationRequest
Source§impl PartialEq for PresentationRequest
impl PartialEq for PresentationRequest
Source§fn eq(&self, other: &PresentationRequest) -> bool
fn eq(&self, other: &PresentationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PresentationRequest
Available on crate feature serde only.
impl Serialize for PresentationRequest
Available on crate feature
serde only.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
impl StructuralPartialEq for PresentationRequest
Source§impl Validatable for PresentationRequest
impl Validatable for PresentationRequest
Auto Trait Implementations§
impl Freeze for PresentationRequest
impl RefUnwindSafe for PresentationRequest
impl Send for PresentationRequest
impl Sync for PresentationRequest
impl Unpin for PresentationRequest
impl UnsafeUnpin for PresentationRequest
impl UnwindSafe for PresentationRequest
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