pub struct GetX402Bundle<'a> { /* private fields */ }Expand description
Builder for [Client::get_x402_bundle]
[`Client::get_x402_bundle`]: super::Client::get_x402_bundleImplementations§
Source§impl<'a> GetX402Bundle<'a>
impl<'a> GetX402Bundle<'a>
pub fn new(client: &'a Client) -> Self
pub fn bundle_slug<V>(self, value: V) -> Selfwhere
V: TryInto<GetX402BundleBundleSlug>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<X402BundleResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<X402BundleResponse>, Error<Error>>
Sends a GET request to /v2/x402/discovery/bundles/{bundleSlug}
Trait Implementations§
Source§impl<'a> Clone for GetX402Bundle<'a>
impl<'a> Clone for GetX402Bundle<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetX402Bundle<'a>
impl<'a> !UnwindSafe for GetX402Bundle<'a>
impl<'a> Freeze for GetX402Bundle<'a>
impl<'a> Send for GetX402Bundle<'a>
impl<'a> Sync for GetX402Bundle<'a>
impl<'a> Unpin for GetX402Bundle<'a>
impl<'a> UnsafeUnpin for GetX402Bundle<'a>
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