pub struct PresentationRequest {
pub credential_id: String,
pub selected_claim_keys: Vec<String>,
}Expand description
A holder-driven request for a subset of a credential’s claims.
This models which claim keys a verifier asked for (or the holder chose to reveal). It carries
no cryptographic material — see build_presentation for the honesty boundary.
Fields§
§credential_id: StringThe credential the presentation is derived from.
selected_claim_keys: Vec<String>The claim keys to disclose. Keys absent from the credential are ignored.
Implementations§
Trait Implementations§
Source§impl Clone for PresentationRequest
impl Clone for PresentationRequest
Source§impl Debug for PresentationRequest
impl Debug for PresentationRequest
Source§impl<'de> Deserialize<'de> for PresentationRequest
impl<'de> Deserialize<'de> for PresentationRequest
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 PresentationRequest
Source§impl PartialEq for PresentationRequest
impl PartialEq for PresentationRequest
Source§impl Serialize for PresentationRequest
impl Serialize for PresentationRequest
impl StructuralPartialEq 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