pub struct StateSignature {
pub algorithm: String,
pub public_key: String,
pub signature: String,
}Expand description
Signature information for a state.
Fields§
§algorithm: String§public_key: String§signature: StringImplementations§
Trait Implementations§
Source§impl Clone for StateSignature
impl Clone for StateSignature
Source§fn clone(&self) -> StateSignature
fn clone(&self) -> StateSignature
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 StateSignature
impl Debug for StateSignature
Source§impl<'de> Deserialize<'de> for StateSignature
impl<'de> Deserialize<'de> for StateSignature
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 StateSignature
Source§impl PartialEq for StateSignature
impl PartialEq for StateSignature
Source§fn eq(&self, other: &StateSignature) -> bool
fn eq(&self, other: &StateSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StateSignature
impl Serialize for StateSignature
impl StructuralPartialEq for StateSignature
Auto Trait Implementations§
impl Freeze for StateSignature
impl RefUnwindSafe for StateSignature
impl Send for StateSignature
impl Sync for StateSignature
impl Unpin for StateSignature
impl UnsafeUnpin for StateSignature
impl UnwindSafe for StateSignature
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