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