pub struct SignedClaim {
pub claim: Claim,
pub public_key: String,
pub signature: String,
}Expand description
A SignedClaim wraps the claim with its signature and public key.
Fields§
§claim: ClaimThe original claim
public_key: StringThe public key of the signer (Hex encoded)
signature: StringThe signature of the serialized claim (Hex encoded)
Trait Implementations§
Source§impl Clone for SignedClaim
impl Clone for SignedClaim
Source§fn clone(&self) -> SignedClaim
fn clone(&self) -> SignedClaim
Returns a duplicate of the value. Read more
1.0.0 · 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 SignedClaim
impl Debug for SignedClaim
Source§impl<'de> Deserialize<'de> for SignedClaim
impl<'de> Deserialize<'de> for SignedClaim
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 SignedClaim
impl RefUnwindSafe for SignedClaim
impl Send for SignedClaim
impl Sync for SignedClaim
impl Unpin for SignedClaim
impl UnsafeUnpin for SignedClaim
impl UnwindSafe for SignedClaim
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