pub struct X402ValidateResponse { /* private fields */ }Implementations§
Source§impl X402ValidateResponse
impl X402ValidateResponse
pub fn bazaar_extension<T>(self, value: T) -> Self
pub fn index<T>(self, value: T) -> Self
pub fn payment_requirements<T>(self, value: T) -> Self
pub fn preflight<T>(self, value: T) -> Self
pub fn simulation<T>(self, value: T) -> Self
pub fn status_code<T>(self, value: T) -> Self
pub fn valid<T>(self, value: T) -> Self
pub fn x402_version<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for X402ValidateResponse
impl Clone for X402ValidateResponse
Source§impl Debug for X402ValidateResponse
impl Debug for X402ValidateResponse
Source§impl Default for X402ValidateResponse
impl Default for X402ValidateResponse
Source§impl From<X402ValidateResponse> for X402ValidateResponse
impl From<X402ValidateResponse> for X402ValidateResponse
Source§fn from(value: X402ValidateResponse) -> Self
fn from(value: X402ValidateResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<X402ValidateResponse> for X402ValidateResponse
impl TryFrom<X402ValidateResponse> for X402ValidateResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: X402ValidateResponse) -> Result<Self, ConversionError>
fn try_from(value: X402ValidateResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for X402ValidateResponse
impl RefUnwindSafe for X402ValidateResponse
impl Send for X402ValidateResponse
impl Sync for X402ValidateResponse
impl Unpin for X402ValidateResponse
impl UnsafeUnpin for X402ValidateResponse
impl UnwindSafe for X402ValidateResponse
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