pub struct CeremonyTranscript(/* private fields */);Expand description
The ordered list of contributions accumulated during a ceremony.
Implementations§
Source§impl CeremonyTranscript
impl CeremonyTranscript
Sourcepub fn new(contributions: Vec<CeremonyStepContribution>) -> Self
pub fn new(contributions: Vec<CeremonyStepContribution>) -> Self
Build a transcript from an ordered list of contributions.
Sourcepub fn appended(self, contribution: CeremonyStepContribution) -> Self
pub fn appended(self, contribution: CeremonyStepContribution) -> Self
Return this transcript extended with contribution appended last.
Sourcepub fn contributions(&self) -> &[CeremonyStepContribution]
pub fn contributions(&self) -> &[CeremonyStepContribution]
The contributions in the order they were produced.
Trait Implementations§
Source§impl Clone for CeremonyTranscript
impl Clone for CeremonyTranscript
Source§fn clone(&self) -> CeremonyTranscript
fn clone(&self) -> CeremonyTranscript
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CeremonyTranscript
impl Debug for CeremonyTranscript
Source§impl Default for CeremonyTranscript
impl Default for CeremonyTranscript
Source§fn default() -> CeremonyTranscript
fn default() -> CeremonyTranscript
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CeremonyTranscript
impl<'de> Deserialize<'de> for CeremonyTranscript
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 CeremonyTranscript
Source§impl PartialEq for CeremonyTranscript
impl PartialEq for CeremonyTranscript
Source§impl Serialize for CeremonyTranscript
impl Serialize for CeremonyTranscript
impl StructuralPartialEq for CeremonyTranscript
Auto Trait Implementations§
impl Freeze for CeremonyTranscript
impl RefUnwindSafe for CeremonyTranscript
impl Send for CeremonyTranscript
impl Sync for CeremonyTranscript
impl Unpin for CeremonyTranscript
impl UnsafeUnpin for CeremonyTranscript
impl UnwindSafe for CeremonyTranscript
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