[][src]Struct durs_network_documents::network_head_v3::NetworkHeadV3

pub struct NetworkHeadV3 {
    pub currency_name: CurrencyName,
    pub api_outgoing_conf: u8,
    pub api_incoming_conf: u8,
    pub free_member_rooms: u8,
    pub free_mirror_rooms: u8,
    pub node_id: NodeId,
    pub pubkey: PubKey,
    pub blockstamp: Blockstamp,
    pub software: String,
    pub soft_version: String,
    pub signature: Option<Sig>,
    pub step: u8,
}

Head V3

Fields

currency_name: CurrencyName

Currency name

api_outgoing_conf: u8

WS2P Private configuration

api_incoming_conf: u8

WS2P Public configuration

free_member_rooms: u8

Issuer node free member rooms

free_mirror_rooms: u8

Issuer node free mirror rooms

node_id: NodeId

Issuer node id

pubkey: PubKey

Issuer pubkey

blockstamp: Blockstamp

Head blockstamp

software: String

Issuer node software

soft_version: String

Issuer node soft version

signature: Option<Sig>

Issuer signature

step: u8

Head step

Trait Implementations

impl Clone for NetworkHeadV3[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for NetworkHeadV3[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Eq for NetworkHeadV3[src]

impl PartialOrd<NetworkHeadV3> for NetworkHeadV3[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<NetworkHeadV3> for NetworkHeadV3[src]

impl Hash for NetworkHeadV3[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

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

impl Debug for NetworkHeadV3[src]

impl<'de> Deserialize<'de> for NetworkHeadV3[src]

impl Serialize for NetworkHeadV3[src]

impl TextSignable for NetworkHeadV3[src]

fn sign(&mut self, priv_key: PrivKey) -> Result<String, SignError>[src]

Sign text message

fn verify(&self) -> Result<(), SigError>[src]

Check signature of text message

impl<'a> ToStringObject for NetworkHeadV3[src]

type StringObject = HeadV3Stringified

impl TextDocumentParser<Rule> for NetworkHeadV3[src]

type DocumentType = NetworkHeadV3

Type of document generated by the parser

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> ToJsonObject for T where
    T: ToStringObject
[src]

fn to_json_string(&self) -> Result<String, Error>[src]

Convert to JSON String

fn to_json_string_pretty(&self) -> Result<String, Error>[src]

Convert to JSON String pretty