pub struct LightningNodeInformationData {
pub node_uris: Option<Vec<String>>,
pub block_height: Option<i32>,
}Fields§
§node_uris: Option<Vec<String>>Node URIs to connect to this node in the form pubkey@endpoint[:port]
block_height: Option<i32>The block height of the lightning node
Implementations§
Source§impl LightningNodeInformationData
impl LightningNodeInformationData
pub fn new() -> LightningNodeInformationData
Trait Implementations§
Source§impl Clone for LightningNodeInformationData
impl Clone for LightningNodeInformationData
Source§fn clone(&self) -> LightningNodeInformationData
fn clone(&self) -> LightningNodeInformationData
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 LightningNodeInformationData
impl Debug for LightningNodeInformationData
Source§impl Default for LightningNodeInformationData
impl Default for LightningNodeInformationData
Source§fn default() -> LightningNodeInformationData
fn default() -> LightningNodeInformationData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LightningNodeInformationData
impl<'de> Deserialize<'de> for LightningNodeInformationData
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 LightningNodeInformationData
impl PartialEq for LightningNodeInformationData
Source§fn eq(&self, other: &LightningNodeInformationData) -> bool
fn eq(&self, other: &LightningNodeInformationData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LightningNodeInformationData
Auto Trait Implementations§
impl Freeze for LightningNodeInformationData
impl RefUnwindSafe for LightningNodeInformationData
impl Send for LightningNodeInformationData
impl Sync for LightningNodeInformationData
impl Unpin for LightningNodeInformationData
impl UnwindSafe for LightningNodeInformationData
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