pub struct ListChannelsItem {Show 15 fields
pub source: String,
pub destination: String,
pub short_channel_id: String,
pub public: bool,
pub amount_msat: MSat,
pub message_flags: u64,
pub channel_flags: u64,
pub active: bool,
pub last_update: u64,
pub base_fee_millisatoshi: u64,
pub fee_per_millionth: u64,
pub delay: u64,
pub htlc_minimum_msat: MSat,
pub htlc_maximum_msat: MSat,
pub features: String,
}Expand description
Sub-structure for ‘listchannels’ item
Fields§
§source: String§destination: String§short_channel_id: String§public: bool§amount_msat: MSat§message_flags: u64§channel_flags: u64§active: bool§last_update: u64§base_fee_millisatoshi: u64§fee_per_millionth: u64§delay: u64§htlc_minimum_msat: MSat§htlc_maximum_msat: MSat§features: StringTrait Implementations§
Source§impl Clone for ListChannelsItem
impl Clone for ListChannelsItem
Source§fn clone(&self) -> ListChannelsItem
fn clone(&self) -> ListChannelsItem
Returns a copy 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 ListChannelsItem
impl Debug for ListChannelsItem
Source§impl<'de> Deserialize<'de> for ListChannelsItem
impl<'de> Deserialize<'de> for ListChannelsItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListChannelsItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListChannelsItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ListChannelsItem
impl Serialize for ListChannelsItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ListChannelsItem
impl RefUnwindSafe for ListChannelsItem
impl Send for ListChannelsItem
impl Sync for ListChannelsItem
impl Unpin for ListChannelsItem
impl UnwindSafe for ListChannelsItem
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> Downcast for T
impl<T> Downcast for T
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request