pub struct Cosignature {
pub name: String,
pub timestamp: u64,
}Expand description
A witness cosignature on a checkpoint.
Fields§
§name: StringThe witness key name.
timestamp: u64Posix seconds the witness signed at.
Trait Implementations§
Source§impl Clone for Cosignature
impl Clone for Cosignature
Source§fn clone(&self) -> Cosignature
fn clone(&self) -> Cosignature
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 Cosignature
impl Debug for Cosignature
Source§impl PartialEq for Cosignature
impl PartialEq for Cosignature
Source§fn eq(&self, other: &Cosignature) -> bool
fn eq(&self, other: &Cosignature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Cosignature
impl StructuralPartialEq for Cosignature
Auto Trait Implementations§
impl Freeze for Cosignature
impl RefUnwindSafe for Cosignature
impl Send for Cosignature
impl Sync for Cosignature
impl Unpin for Cosignature
impl UnsafeUnpin for Cosignature
impl UnwindSafe for Cosignature
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