[−][src]Struct durs_network_documents::network_head_v3::NetworkHeadV3
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(&self) -> 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 cmp(&self, other: &NetworkHeadV3) -> Ordering
[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]
fn partial_cmp(&self, other: &NetworkHeadV3) -> Option<Ordering>
[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]
fn eq(&self, other: &NetworkHeadV3) -> bool
[src]
fn ne(&self, other: &NetworkHeadV3) -> bool
[src]
impl Hash for NetworkHeadV3
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for NetworkHeadV3
[src]
impl<'de> Deserialize<'de> for NetworkHeadV3
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for NetworkHeadV3
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl TextSignable for NetworkHeadV3
[src]
fn as_signable_text(&self) -> String
[src]
fn issuer_pubkey(&self) -> PubKey
[src]
fn signature(&self) -> Option<Sig>
[src]
fn set_signature(&mut self, signature: Sig)
[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
fn to_string_object(&self) -> Self::StringObject
[src]
impl TextDocumentParser<Rule> for NetworkHeadV3
[src]
type DocumentType = NetworkHeadV3
Type of document generated by the parser
fn parse(doc: &str) -> Result<NetworkHeadV3, TextDocumentParseError>
[src]
fn from_pest_pair(pair: Pair<Rule>) -> NetworkHeadV3
[src]
Auto Trait Implementations
impl Send for NetworkHeadV3
impl Sync for NetworkHeadV3
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> ToJsonObject for T where
T: ToStringObject,
[src]
T: ToStringObject,
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