pub struct SessionProjection {
pub session_id: String,
pub state: String,
pub threshold: u32,
pub party_count: u32,
pub commitments: Vec<String>,
pub shares: Vec<String>,
}Expand description
Event-sourced session state projected from events.
Fields§
§session_id: String§state: String§threshold: u32§party_count: u32§commitments: Vec<String>Trait Implementations§
Source§impl Clone for SessionProjection
impl Clone for SessionProjection
Source§fn clone(&self) -> SessionProjection
fn clone(&self) -> SessionProjection
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 SessionProjection
impl Debug for SessionProjection
Source§impl Default for SessionProjection
impl Default for SessionProjection
Source§fn default() -> SessionProjection
fn default() -> SessionProjection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionProjection
impl RefUnwindSafe for SessionProjection
impl Send for SessionProjection
impl Sync for SessionProjection
impl Unpin for SessionProjection
impl UnsafeUnpin for SessionProjection
impl UnwindSafe for SessionProjection
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