pub struct NodeInfoJson {
pub version: u32,
pub public_key: String,
pub network_generation_hash_seed: String,
pub roles: u32,
pub port: u16,
pub network_identifier: u8,
pub host: String,
pub friendly_name: String,
pub node_public_key: Option<String>,
}Expand description
NodeInfoDTO。ウォレットは、委任するノードの nodePublicKey をここから取る
Fields§
§version: u32§public_key: Stringノードを見分ける鍵(CA の公開鍵)。16進
network_generation_hash_seed: String§roles: u32§port: u16§network_identifier: u8§host: String§friendly_name: String§node_public_key: Option<String>委任の鍵(NodeKeyLink を向ける鍵)。16進。/node/peers のピアにはない
Trait Implementations§
Source§impl Clone for NodeInfoJson
impl Clone for NodeInfoJson
Source§fn clone(&self) -> NodeInfoJson
fn clone(&self) -> NodeInfoJson
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 NodeInfoJson
impl Debug for NodeInfoJson
Source§impl<'de> Deserialize<'de> for NodeInfoJson
impl<'de> Deserialize<'de> for NodeInfoJson
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 NodeInfoJson
Source§impl PartialEq for NodeInfoJson
impl PartialEq for NodeInfoJson
Source§impl Serialize for NodeInfoJson
impl Serialize for NodeInfoJson
impl StructuralPartialEq for NodeInfoJson
Auto Trait Implementations§
impl Freeze for NodeInfoJson
impl RefUnwindSafe for NodeInfoJson
impl Send for NodeInfoJson
impl Sync for NodeInfoJson
impl Unpin for NodeInfoJson
impl UnsafeUnpin for NodeInfoJson
impl UnwindSafe for NodeInfoJson
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