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