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