Struct exonum_btc_anchoring::blockchain::KnownSignatureId
[−]
[src]
pub struct KnownSignatureId { pub txid: TxId, pub validator_id: ValidatorId, pub input: u32, }
Unique identifier of signature for the AnchoringTx
.
Fields
txid: TxId
Normalized txid of the AnchoringTx
.
validator_id: ValidatorId
Identifier of the anchoring node in the current configuration.
input: u32
Transaction input for the signature.
Trait Implementations
impl Debug for KnownSignatureId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for KnownSignatureId
[src]
fn clone(&self) -> KnownSignatureId
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl StorageKey for KnownSignatureId
[src]
fn size(&self) -> usize
[src]
Returns the size of the serialized key in bytes.
fn write(&self, buffer: &mut [u8])
[src]
Serializes the key into the specified buffer of bytes. Read more
fn read(buffer: &[u8]) -> Self
[src]
Deserializes the key from the specified buffer of bytes.
impl<'a> From<&'a MsgAnchoringSignature> for KnownSignatureId
[src]
fn from(msg: &'a MsgAnchoringSignature) -> KnownSignatureId
[src]
Performs the conversion.