pub struct LndInfo {Show 20 fields
pub version: String,
pub commit_hash: String,
pub identity_pubkey: String,
pub alias: String,
pub color: String,
pub num_pending_channels: u32,
pub num_active_channels: u32,
pub num_inactive_channels: u32,
pub num_peers: u32,
pub block_height: u32,
pub block_hash: String,
pub best_header_timestamp: String,
pub synced_to_chain: bool,
pub synced_to_graph: bool,
pub testnet: bool,
pub chains: Vec<Chain>,
pub uris: Vec<String>,
pub features: HashMap<String, Feature>,
pub require_htlc_interceptor: bool,
pub store_final_htlc_resolutions: bool,
}Fields§
§version: String§commit_hash: String§identity_pubkey: String§alias: String§color: String§num_pending_channels: u32§num_active_channels: u32§num_inactive_channels: u32§num_peers: u32§block_height: u32§block_hash: String§best_header_timestamp: String§synced_to_chain: bool§synced_to_graph: bool§testnet: bool§chains: Vec<Chain>§uris: Vec<String>§features: HashMap<String, Feature>§require_htlc_interceptor: bool§store_final_htlc_resolutions: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for LndInfo
impl<'de> Deserialize<'de> for LndInfo
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
Auto Trait Implementations§
impl Freeze for LndInfo
impl RefUnwindSafe for LndInfo
impl Send for LndInfo
impl Sync for LndInfo
impl Unpin for LndInfo
impl UnwindSafe for LndInfo
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<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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.