pub struct StorageListPaymentsRequest {
pub type_filter: Option<Vec<PaymentType>>,
pub status_filter: Option<Vec<PaymentStatus>>,
pub asset_filter: Option<AssetFilter>,
pub payment_details_filter: Option<Vec<StoragePaymentDetailsFilter>>,
pub from_timestamp: Option<u64>,
pub to_timestamp: Option<u64>,
pub offset: Option<u32>,
pub limit: Option<u32>,
pub sort_ascending: Option<bool>,
}Expand description
Storage-internal variant of ListPaymentsRequest that uses
StoragePaymentDetailsFilter instead of the public PaymentDetailsFilter.
Fields§
§type_filter: Option<Vec<PaymentType>>§status_filter: Option<Vec<PaymentStatus>>§asset_filter: Option<AssetFilter>§payment_details_filter: Option<Vec<StoragePaymentDetailsFilter>>§from_timestamp: Option<u64>§to_timestamp: Option<u64>§offset: Option<u32>§limit: Option<u32>§sort_ascending: Option<bool>Trait Implementations§
Source§impl Clone for StorageListPaymentsRequest
impl Clone for StorageListPaymentsRequest
Source§fn clone(&self) -> StorageListPaymentsRequest
fn clone(&self) -> StorageListPaymentsRequest
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 StorageListPaymentsRequest
impl Debug for StorageListPaymentsRequest
Source§impl Default for StorageListPaymentsRequest
impl Default for StorageListPaymentsRequest
Source§fn default() -> StorageListPaymentsRequest
fn default() -> StorageListPaymentsRequest
Returns the “default value” for a type. Read more
Source§impl From<ListPaymentsRequest> for StorageListPaymentsRequest
impl From<ListPaymentsRequest> for StorageListPaymentsRequest
Source§fn from(request: ListPaymentsRequest) -> Self
fn from(request: ListPaymentsRequest) -> Self
Converts to this type from the input type.
Source§impl From<StorageListPaymentsRequest> for ListPaymentsRequest
impl From<StorageListPaymentsRequest> for ListPaymentsRequest
Source§fn from(request: StorageListPaymentsRequest) -> Self
fn from(request: StorageListPaymentsRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StorageListPaymentsRequest
impl RefUnwindSafe for StorageListPaymentsRequest
impl Send for StorageListPaymentsRequest
impl Sync for StorageListPaymentsRequest
impl Unpin for StorageListPaymentsRequest
impl UnwindSafe for StorageListPaymentsRequest
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