pub struct WitnessCosignature {
pub witness_name: String,
pub witness_public_key: Ed25519PublicKey,
pub signature: Ed25519Signature,
pub timestamp: DateTime<Utc>,
}Expand description
A witness cosignature on a checkpoint.
Witnesses independently verify the checkpoint and add their signature to increase trust in the log’s consistency claims.
Fields§
§witness_name: String§witness_public_key: Ed25519PublicKey§signature: Ed25519Signature§timestamp: DateTime<Utc>Trait Implementations§
Source§impl Clone for WitnessCosignature
impl Clone for WitnessCosignature
Source§fn clone(&self) -> WitnessCosignature
fn clone(&self) -> WitnessCosignature
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 WitnessCosignature
impl Debug for WitnessCosignature
Source§impl<'de> Deserialize<'de> for WitnessCosignature
impl<'de> Deserialize<'de> for WitnessCosignature
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
Source§impl PartialEq for WitnessCosignature
impl PartialEq for WitnessCosignature
Source§fn eq(&self, other: &WitnessCosignature) -> bool
fn eq(&self, other: &WitnessCosignature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WitnessCosignature
impl Serialize for WitnessCosignature
impl StructuralPartialEq for WitnessCosignature
Auto Trait Implementations§
impl Freeze for WitnessCosignature
impl RefUnwindSafe for WitnessCosignature
impl Send for WitnessCosignature
impl Sync for WitnessCosignature
impl Unpin for WitnessCosignature
impl UnsafeUnpin for WitnessCosignature
impl UnwindSafe for WitnessCosignature
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