pub struct NodeInfoOptions {
pub peer_id: Option<String>,
}Expand description
Options for NodeInfo request
Fields§
§peer_id: Option<String>Optional peer ID to query
Trait Implementations§
Source§impl Clone for NodeInfoOptions
impl Clone for NodeInfoOptions
Source§fn clone(&self) -> NodeInfoOptions
fn clone(&self) -> NodeInfoOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeInfoOptions
impl Debug for NodeInfoOptions
Source§impl Default for NodeInfoOptions
impl Default for NodeInfoOptions
Source§fn default() -> NodeInfoOptions
fn default() -> NodeInfoOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeInfoOptions
impl<'de> Deserialize<'de> for NodeInfoOptions
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
Source§impl PartialEq for NodeInfoOptions
impl PartialEq for NodeInfoOptions
Source§impl Serialize for NodeInfoOptions
impl Serialize for NodeInfoOptions
impl StructuralPartialEq for NodeInfoOptions
Auto Trait Implementations§
impl Freeze for NodeInfoOptions
impl RefUnwindSafe for NodeInfoOptions
impl Send for NodeInfoOptions
impl Sync for NodeInfoOptions
impl Unpin for NodeInfoOptions
impl UnsafeUnpin for NodeInfoOptions
impl UnwindSafe for NodeInfoOptions
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