pub struct NodeData {Show 17 fields
pub words: Option<String>,
pub peer_id: Option<String>,
pub network: Option<String>,
pub disable_control_api: Option<bool>,
pub nat_traversal_required: Option<bool>,
pub udp_keepalive_seconds: Option<u64>,
pub service_intervals: Option<ServiceIntervals>,
pub server_index: Option<i64>,
pub peer_id_index: Option<i64>,
pub port_offset: Option<i64>,
pub watch_only_node: Option<bool>,
pub archival_mode: Option<bool>,
pub name: Option<String>,
pub ip: Option<String>,
pub http_client_proxy: Option<String>,
pub udp_serve_disabled: Option<bool>,
pub allowed_http_proxy_origins: Option<Vec<String>>,
}Fields§
§words: Option<String>§peer_id: Option<String>§network: Option<String>§disable_control_api: Option<bool>§nat_traversal_required: Option<bool>§udp_keepalive_seconds: Option<u64>§service_intervals: Option<ServiceIntervals>§server_index: Option<i64>§peer_id_index: Option<i64>§port_offset: Option<i64>§watch_only_node: Option<bool>§archival_mode: Option<bool>§name: Option<String>§ip: Option<String>§http_client_proxy: Option<String>§udp_serve_disabled: Option<bool>§allowed_http_proxy_origins: Option<Vec<String>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeData
impl<'de> Deserialize<'de> for NodeData
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 NodeData
impl StructuralPartialEq for NodeData
Auto Trait Implementations§
impl Freeze for NodeData
impl RefUnwindSafe for NodeData
impl Send for NodeData
impl Sync for NodeData
impl Unpin for NodeData
impl UnwindSafe for NodeData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more