pub struct ETHSignature {
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>,
}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>Trait Implementations§
Source§impl Clone for ETHSignature
impl Clone for ETHSignature
Source§fn clone(&self) -> ETHSignature
fn clone(&self) -> ETHSignature
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 ETHSignature
impl Debug for ETHSignature
Source§impl<'de> Deserialize<'de> for ETHSignature
impl<'de> Deserialize<'de> for ETHSignature
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 ETHSignature
impl PartialEq for ETHSignature
Source§impl Serialize for ETHSignature
impl Serialize for ETHSignature
impl StructuralPartialEq for ETHSignature
Auto Trait Implementations§
impl Freeze for ETHSignature
impl RefUnwindSafe for ETHSignature
impl Send for ETHSignature
impl Sync for ETHSignature
impl Unpin for ETHSignature
impl UnsafeUnpin for ETHSignature
impl UnwindSafe for ETHSignature
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