pub struct TypedDataSignature {
pub public_key: Vec<u8>,
pub signature: Vec<u8>,
pub signer: String,
pub signer_version: u64,
pub timestamp: u64,
pub vote: VoteType,
pub transaction_hash: [u8; 32],
pub memo: String,
pub data: Vec<u8>,
pub chain_id: String,
}Fields§
§public_key: Vec<u8>§signature: Vec<u8>§signer: String§signer_version: u64§timestamp: u64§vote: VoteType§transaction_hash: [u8; 32]§memo: String§data: Vec<u8>§chain_id: StringTrait Implementations§
Source§impl Clone for TypedDataSignature
impl Clone for TypedDataSignature
Source§fn clone(&self) -> TypedDataSignature
fn clone(&self) -> TypedDataSignature
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 TypedDataSignature
impl Debug for TypedDataSignature
Source§impl<'de> Deserialize<'de> for TypedDataSignature
impl<'de> Deserialize<'de> for TypedDataSignature
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 TypedDataSignature
impl PartialEq for TypedDataSignature
Source§impl Serialize for TypedDataSignature
impl Serialize for TypedDataSignature
impl StructuralPartialEq for TypedDataSignature
Auto Trait Implementations§
impl Freeze for TypedDataSignature
impl RefUnwindSafe for TypedDataSignature
impl Send for TypedDataSignature
impl Sync for TypedDataSignature
impl Unpin for TypedDataSignature
impl UnsafeUnpin for TypedDataSignature
impl UnwindSafe for TypedDataSignature
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