pub struct NetworkPropertiesJson {
pub network: NetworkSectionJson,
pub chain: ChainSectionJson,
pub plugins: PluginsJson,
}Expand description
NetworkConfigurationDTO(/network/properties)。catapult の REST は、ノードの config-network.properties を
そのまま返す。値は、ファイルに書いてあるとおりの文字列(6h、0x6BED'913F'A202'23F8、10'000'000 など)で、
true と false だけ真偽値にする。読む側は、桁の区切りの ' を外して読む
Fields§
§network: NetworkSectionJson§chain: ChainSectionJson§plugins: PluginsJsonTrait Implementations§
Source§impl Clone for NetworkPropertiesJson
impl Clone for NetworkPropertiesJson
Source§fn clone(&self) -> NetworkPropertiesJson
fn clone(&self) -> NetworkPropertiesJson
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkPropertiesJson
impl Debug for NetworkPropertiesJson
Source§impl Default for NetworkPropertiesJson
impl Default for NetworkPropertiesJson
Source§fn default() -> NetworkPropertiesJson
fn default() -> NetworkPropertiesJson
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkPropertiesJson
impl<'de> Deserialize<'de> for NetworkPropertiesJson
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NetworkPropertiesJson
Source§impl PartialEq for NetworkPropertiesJson
impl PartialEq for NetworkPropertiesJson
Source§impl Serialize for NetworkPropertiesJson
impl Serialize for NetworkPropertiesJson
impl StructuralPartialEq for NetworkPropertiesJson
Auto Trait Implementations§
impl Freeze for NetworkPropertiesJson
impl RefUnwindSafe for NetworkPropertiesJson
impl Send for NetworkPropertiesJson
impl Sync for NetworkPropertiesJson
impl Unpin for NetworkPropertiesJson
impl UnsafeUnpin for NetworkPropertiesJson
impl UnwindSafe for NetworkPropertiesJson
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more