pub enum StoragePaymentDetailsFilter {
Spark {
htlc_status: Option<Vec<SparkHtlcStatus>>,
conversion_refund_needed: Option<bool>,
},
Token {
conversion_refund_needed: Option<bool>,
tx_hash: Option<String>,
tx_type: Option<TokenTransactionType>,
},
Lightning {
htlc_status: Option<Vec<SparkHtlcStatus>>,
has_lnurl_preimage: Option<bool>,
},
}Expand description
Storage-internal variant of PaymentDetailsFilter that includes the
has_lnurl_preimage field on the Lightning variant, which is not exposed
in the public API.
Variants§
Trait Implementations§
Source§impl Clone for StoragePaymentDetailsFilter
impl Clone for StoragePaymentDetailsFilter
Source§fn clone(&self) -> StoragePaymentDetailsFilter
fn clone(&self) -> StoragePaymentDetailsFilter
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 StoragePaymentDetailsFilter
impl Debug for StoragePaymentDetailsFilter
Source§impl From<PaymentDetailsFilter> for StoragePaymentDetailsFilter
impl From<PaymentDetailsFilter> for StoragePaymentDetailsFilter
Source§fn from(filter: PaymentDetailsFilter) -> Self
fn from(filter: PaymentDetailsFilter) -> Self
Converts to this type from the input type.
Source§impl From<StoragePaymentDetailsFilter> for PaymentDetailsFilter
impl From<StoragePaymentDetailsFilter> for PaymentDetailsFilter
Source§fn from(filter: StoragePaymentDetailsFilter) -> Self
fn from(filter: StoragePaymentDetailsFilter) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StoragePaymentDetailsFilter
impl RefUnwindSafe for StoragePaymentDetailsFilter
impl Send for StoragePaymentDetailsFilter
impl Sync for StoragePaymentDetailsFilter
impl Unpin for StoragePaymentDetailsFilter
impl UnwindSafe for StoragePaymentDetailsFilter
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