pub struct X402PaymentIntentFilter {
pub payer_address: Option<String>,
pub payee_address: Option<String>,
pub status: Option<X402IntentStatus>,
pub network: Option<X402Network>,
pub asset: Option<X402Asset>,
pub order_id: Option<Uuid>,
pub batch_id: Option<Uuid>,
pub from_date: Option<DateTime<Utc>>,
pub to_date: Option<DateTime<Utc>>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Filter for listing x402 payment intents
Fields§
§payer_address: Option<String>Filter by payer address
payee_address: Option<String>Filter by payee address
status: Option<X402IntentStatus>Filter by status
network: Option<X402Network>Filter by network
asset: Option<X402Asset>Filter by asset
order_id: Option<Uuid>Filter by order ID
batch_id: Option<Uuid>Filter by batch ID
from_date: Option<DateTime<Utc>>Filter by date range
to_date: Option<DateTime<Utc>>§limit: Option<u32>Pagination
offset: Option<u32>Trait Implementations§
Source§impl Clone for X402PaymentIntentFilter
impl Clone for X402PaymentIntentFilter
Source§fn clone(&self) -> X402PaymentIntentFilter
fn clone(&self) -> X402PaymentIntentFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 X402PaymentIntentFilter
impl Debug for X402PaymentIntentFilter
Source§impl Default for X402PaymentIntentFilter
impl Default for X402PaymentIntentFilter
Source§fn default() -> X402PaymentIntentFilter
fn default() -> X402PaymentIntentFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for X402PaymentIntentFilter
impl<'de> Deserialize<'de> for X402PaymentIntentFilter
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<X402PaymentIntentFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<X402PaymentIntentFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for X402PaymentIntentFilter
impl Serialize for X402PaymentIntentFilter
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 X402PaymentIntentFilter
impl RefUnwindSafe for X402PaymentIntentFilter
impl Send for X402PaymentIntentFilter
impl Sync for X402PaymentIntentFilter
impl Unpin for X402PaymentIntentFilter
impl UnsafeUnpin for X402PaymentIntentFilter
impl UnwindSafe for X402PaymentIntentFilter
Blanket Implementations§
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