Struct iota_client::builder::NetworkInfo [−][src]
pub struct NetworkInfo {
pub network: Option<String>,
pub network_id: Option<u64>,
pub bech32_hrp: String,
pub min_pow_score: f64,
pub local_pow: bool,
pub tips_interval: u64,
}Expand description
Struct containing network and PoW related information
Fields
network: Option<String>Network
network_id: Option<u64>Network ID
bech32_hrp: StringBech32 HRP
min_pow_score: f64Mininum proof of work score
local_pow: boolLocal proof of work
tips_interval: u64Tips request interval during PoW in seconds
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for NetworkInfoimpl Send for NetworkInfoimpl Sync for NetworkInfoimpl Unpin for NetworkInfoimpl UnwindSafe for NetworkInfoBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V