pub struct PaymentServiceLayer { /* private fields */ }Expand description
Tower service layer for x402 payment middleware
Implementations§
Source§impl PaymentServiceLayer
impl PaymentServiceLayer
pub fn new(middleware: PaymentMiddleware) -> Self
Trait Implementations§
Source§impl Clone for PaymentServiceLayer
impl Clone for PaymentServiceLayer
Source§fn clone(&self) -> PaymentServiceLayer
fn clone(&self) -> PaymentServiceLayer
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 moreAuto Trait Implementations§
impl Freeze for PaymentServiceLayer
impl !RefUnwindSafe for PaymentServiceLayer
impl Send for PaymentServiceLayer
impl Sync for PaymentServiceLayer
impl Unpin for PaymentServiceLayer
impl !UnwindSafe for PaymentServiceLayer
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