pub struct ProofBuilder { /* private fields */ }Implementations§
Source§impl ProofBuilder
impl ProofBuilder
pub fn new(proposition: Proposition, created_at: u64) -> Self
pub fn add_event(&mut self, e: CreatedEvent)
pub fn add_attestation(&mut self, a: CreatedAttestation)
pub fn add_evidence(&mut self, e: CreatedEvidence)
pub fn add_relationship(&mut self, r: CreatedRelationship)
pub fn build(self, limits: &Limits) -> Result<BuiltProof, ProofError>
Trait Implementations§
Source§impl Debug for ProofBuilder
impl Debug for ProofBuilder
Auto Trait Implementations§
impl Freeze for ProofBuilder
impl RefUnwindSafe for ProofBuilder
impl Send for ProofBuilder
impl Sync for ProofBuilder
impl Unpin for ProofBuilder
impl UnsafeUnpin for ProofBuilder
impl UnwindSafe for ProofBuilder
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