pub struct WitnessCosignature {
pub witness: String,
pub tree_head_bytes: Vec<u8>,
pub signature: Vec<u8>,
pub public_key: Vec<u8>,
}Expand description
One witness’s signature over a signed tree head.
Fields§
§witness: StringWitness identity.
tree_head_bytes: Vec<u8>The witnessed tree head bytes (root hash + size + timestamp).
signature: Vec<u8>The witness’s signature over the tree head bytes.
public_key: Vec<u8>The witness’s public key.
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
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