pub struct SparkHtlcDetails {
pub payment_hash: String,
pub preimage: Option<String>,
pub expiry_time: u64,
pub status: SparkHtlcStatus,
}Fields§
§payment_hash: StringThe payment hash of the HTLC
preimage: Option<String>The preimage of the HTLC. Empty until receiver has released it.
expiry_time: u64The expiry time of the HTLC in seconds since the Unix epoch
status: SparkHtlcStatusThe HTLC status
Trait Implementations§
Source§impl Clone for SparkHtlcDetails
impl Clone for SparkHtlcDetails
Source§fn clone(&self) -> SparkHtlcDetails
fn clone(&self) -> SparkHtlcDetails
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 SparkHtlcDetails
impl Debug for SparkHtlcDetails
Source§impl<'de> Deserialize<'de> for SparkHtlcDetails
impl<'de> Deserialize<'de> for SparkHtlcDetails
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 SparkHtlcDetails
impl PartialEq for SparkHtlcDetails
Source§impl Serialize for SparkHtlcDetails
impl Serialize for SparkHtlcDetails
Source§impl TryFrom<PreimageRequest> for SparkHtlcDetails
impl TryFrom<PreimageRequest> for SparkHtlcDetails
impl StructuralPartialEq for SparkHtlcDetails
Auto Trait Implementations§
impl Freeze for SparkHtlcDetails
impl RefUnwindSafe for SparkHtlcDetails
impl Send for SparkHtlcDetails
impl Sync for SparkHtlcDetails
impl Unpin for SparkHtlcDetails
impl UnwindSafe for SparkHtlcDetails
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§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