pub struct AuthoritySignature {
pub origin: String,
pub authority: String,
pub vote: VoteType,
pub tx_id: [u8; 32],
pub cause: [u8; 32],
pub delegator: String,
pub memo: String,
}Fields§
§origin: String§vote: VoteType§tx_id: [u8; 32]§cause: [u8; 32]§delegator: String§memo: StringTrait Implementations§
Source§impl Clone for AuthoritySignature
impl Clone for AuthoritySignature
Source§fn clone(&self) -> AuthoritySignature
fn clone(&self) -> AuthoritySignature
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 AuthoritySignature
impl Debug for AuthoritySignature
Source§impl<'de> Deserialize<'de> for AuthoritySignature
impl<'de> Deserialize<'de> for AuthoritySignature
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 AuthoritySignature
impl PartialEq for AuthoritySignature
Source§impl Serialize for AuthoritySignature
impl Serialize for AuthoritySignature
impl StructuralPartialEq for AuthoritySignature
Auto Trait Implementations§
impl Freeze for AuthoritySignature
impl RefUnwindSafe for AuthoritySignature
impl Send for AuthoritySignature
impl Sync for AuthoritySignature
impl Unpin for AuthoritySignature
impl UnsafeUnpin for AuthoritySignature
impl UnwindSafe for AuthoritySignature
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