pub struct PresentationBuilder<'a> { /* private fields */ }
Expand description
Builder for Presentation
.
Implementations§
Source§impl<'a> PresentationBuilder<'a>
impl<'a> PresentationBuilder<'a>
Sourcepub fn identity_proof(&mut self, proof: ServerIdentityProof) -> &mut Self
pub fn identity_proof(&mut self, proof: ServerIdentityProof) -> &mut Self
Includes a server identity proof.
Sourcepub fn transcript_proof(&mut self, proof: TranscriptProof) -> &mut Self
pub fn transcript_proof(&mut self, proof: TranscriptProof) -> &mut Self
Includes a transcript proof.
Sourcepub fn build(self) -> Result<Presentation, PresentationBuilderError>
pub fn build(self) -> Result<Presentation, PresentationBuilderError>
Builds the presentation.
Auto Trait Implementations§
impl<'a> Freeze for PresentationBuilder<'a>
impl<'a> !RefUnwindSafe for PresentationBuilder<'a>
impl<'a> Send for PresentationBuilder<'a>
impl<'a> Sync for PresentationBuilder<'a>
impl<'a> Unpin for PresentationBuilder<'a>
impl<'a> !UnwindSafe for PresentationBuilder<'a>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more