pub struct ListforwardsForwards {Show 15 fields
pub in_channel: String,
pub in_msat: Option<Amount>,
pub status: i32,
pub received_time: f64,
pub out_channel: Option<String>,
pub fee_msat: Option<Amount>,
pub out_msat: Option<Amount>,
pub style: Option<i32>,
pub in_htlc_id: Option<u64>,
pub out_htlc_id: Option<u64>,
pub created_index: Option<u64>,
pub updated_index: Option<u64>,
pub resolved_time: Option<f64>,
pub failcode: Option<u32>,
pub failreason: Option<String>,
}Fields§
§in_channel: String§in_msat: Option<Amount>§status: i32§received_time: f64§out_channel: Option<String>§fee_msat: Option<Amount>§out_msat: Option<Amount>§style: Option<i32>§in_htlc_id: Option<u64>§out_htlc_id: Option<u64>§created_index: Option<u64>§updated_index: Option<u64>§resolved_time: Option<f64>§failcode: Option<u32>§failreason: Option<String>Implementations§
Source§impl ListforwardsForwards
impl ListforwardsForwards
Sourcepub fn status(&self) -> ListforwardsForwardsStatus
pub fn status(&self) -> ListforwardsForwardsStatus
Returns the enum value of status, or the default if the field is set to an invalid enum value.
Sourcepub fn set_status(&mut self, value: ListforwardsForwardsStatus)
pub fn set_status(&mut self, value: ListforwardsForwardsStatus)
Sets status to the provided enum value.
Sourcepub fn out_channel(&self) -> &str
pub fn out_channel(&self) -> &str
Returns the value of out_channel, or the default value if out_channel is unset.
Sourcepub fn style(&self) -> ListforwardsForwardsStyle
pub fn style(&self) -> ListforwardsForwardsStyle
Returns the enum value of style, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_style(&mut self, value: ListforwardsForwardsStyle)
pub fn set_style(&mut self, value: ListforwardsForwardsStyle)
Sets style to the provided enum value.
Sourcepub fn in_htlc_id(&self) -> u64
pub fn in_htlc_id(&self) -> u64
Returns the value of in_htlc_id, or the default value if in_htlc_id is unset.
Sourcepub fn out_htlc_id(&self) -> u64
pub fn out_htlc_id(&self) -> u64
Returns the value of out_htlc_id, or the default value if out_htlc_id is unset.
Sourcepub fn created_index(&self) -> u64
pub fn created_index(&self) -> u64
Returns the value of created_index, or the default value if created_index is unset.
Sourcepub fn updated_index(&self) -> u64
pub fn updated_index(&self) -> u64
Returns the value of updated_index, or the default value if updated_index is unset.
Sourcepub fn resolved_time(&self) -> f64
pub fn resolved_time(&self) -> f64
Returns the value of resolved_time, or the default value if resolved_time is unset.
Sourcepub fn failcode(&self) -> u32
pub fn failcode(&self) -> u32
Returns the value of failcode, or the default value if failcode is unset.
Sourcepub fn failreason(&self) -> &str
pub fn failreason(&self) -> &str
Returns the value of failreason, or the default value if failreason is unset.
Trait Implementations§
Source§impl Clone for ListforwardsForwards
impl Clone for ListforwardsForwards
Source§fn clone(&self) -> ListforwardsForwards
fn clone(&self) -> ListforwardsForwards
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListforwardsForwards
impl Debug for ListforwardsForwards
Source§impl Default for ListforwardsForwards
impl Default for ListforwardsForwards
Source§fn default() -> ListforwardsForwards
fn default() -> ListforwardsForwards
Source§impl<'de> Deserialize<'de> for ListforwardsForwards
impl<'de> Deserialize<'de> for ListforwardsForwards
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListforwardsForwards, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListforwardsForwards, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Message for ListforwardsForwards
impl Message for ListforwardsForwards
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.Source§impl PartialEq for ListforwardsForwards
impl PartialEq for ListforwardsForwards
Source§impl Serialize for ListforwardsForwards
impl Serialize for ListforwardsForwards
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,
impl StructuralPartialEq for ListforwardsForwards
Auto Trait Implementations§
impl Freeze for ListforwardsForwards
impl RefUnwindSafe for ListforwardsForwards
impl Send for ListforwardsForwards
impl Sync for ListforwardsForwards
impl Unpin for ListforwardsForwards
impl UnwindSafe for ListforwardsForwards
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
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>
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>
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>
T in a tonic::Request