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