[][src]Struct clightningrpc::responses::GetInfo

pub struct GetInfo {
    pub id: String,
    pub alias: String,
    pub color: String,
    pub num_peers: u64,
    pub num_pending_channels: u64,
    pub num_active_channels: u64,
    pub num_inactive_channels: u64,
    pub address: Vec<NetworkAddress>,
    pub binding: Vec<NetworkAddress>,
    pub version: String,
    pub blockheight: u64,
    pub fees_collected_msat: MSat,
    pub network: String,
    pub ligthning_dir: String,
    pub warning_bitcoind_sync: Option<String>,
    pub warning_lightningd_sync: Option<String>,
}

'getinfo' command

Fields

id: Stringalias: Stringcolor: Stringnum_peers: u64num_pending_channels: u64num_active_channels: u64num_inactive_channels: u64address: Vec<NetworkAddress>binding: Vec<NetworkAddress>version: Stringblockheight: u64fees_collected_msat: MSatnetwork: Stringligthning_dir: Stringwarning_bitcoind_sync: Option<String>warning_lightningd_sync: Option<String>

Trait Implementations

impl Clone for GetInfo[src]

impl Debug for GetInfo[src]

impl<'de> Deserialize<'de> for GetInfo[src]

impl Serialize for GetInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for GetInfo

impl Send for GetInfo

impl Sync for GetInfo

impl Unpin for GetInfo

impl UnwindSafe for GetInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.