Struct chik_protocol::TransactionsInfo
source · pub struct TransactionsInfo {
pub generator_root: Bytes32,
pub generator_refs_root: Bytes32,
pub aggregated_signature: G2Element,
pub fees: u64,
pub cost: u64,
pub reward_claims_incorporated: Vec<Coin>,
}Fields§
§generator_root: Bytes32§generator_refs_root: Bytes32§aggregated_signature: G2Element§fees: u64§cost: u64§reward_claims_incorporated: Vec<Coin>Implementations§
Trait Implementations§
source§impl Clone for TransactionsInfo
impl Clone for TransactionsInfo
source§fn clone(&self) -> TransactionsInfo
fn clone(&self) -> TransactionsInfo
Returns a copy 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 TransactionsInfo
impl Debug for TransactionsInfo
source§impl Hash for TransactionsInfo
impl Hash for TransactionsInfo
source§impl PartialEq for TransactionsInfo
impl PartialEq for TransactionsInfo
source§fn eq(&self, other: &TransactionsInfo) -> bool
fn eq(&self, other: &TransactionsInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Streamable for TransactionsInfo
impl Streamable for TransactionsInfo
fn update_digest(&self, digest: &mut Sha256)
fn stream(&self, out: &mut Vec<u8>) -> Result<()>
fn parse<const TRUSTED: bool>(input: &mut Cursor<&[u8]>) -> Result<Self>
fn to_bytes(&self) -> Result<Vec<u8>, Error>
fn from_bytes(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn from_bytes_unchecked(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn hash(&self) -> [u8; 32]
impl Eq for TransactionsInfo
impl StructuralPartialEq for TransactionsInfo
Auto Trait Implementations§
impl Freeze for TransactionsInfo
impl RefUnwindSafe for TransactionsInfo
impl Send for TransactionsInfo
impl Sync for TransactionsInfo
impl Unpin for TransactionsInfo
impl UnwindSafe for TransactionsInfo
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