Struct duniter_documents::Blockstamp [] [src]

pub struct Blockstamp {
    pub id: BlockId,
    pub hash: BlockHash,
}

A blockstamp (Unique ID).

It's composed of the BlockId and the BlockHash of the block.

Thanks to blockchain immutability and frequent block production, it can be used to date information.

Fields

Block Id.

Block hash.

Methods

impl Blockstamp
[src]

[src]

Create a BlockUId from a text.

[src]

Convert a BlockUId to its text format.

Trait Implementations

impl Copy for Blockstamp
[src]

impl Clone for Blockstamp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Blockstamp
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Blockstamp
[src]

impl Hash for Blockstamp
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Blockstamp
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for Blockstamp
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Blockstamp
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Blockstamp

impl Sync for Blockstamp