pub struct Checkout { /* private fields */ }Expand description
Checkout request resolved to an operation descriptor.
Implementations§
Source§impl Checkout
impl Checkout
Sourcepub fn new(descriptor: OperationDescriptor, input: OperationInput) -> Self
pub fn new(descriptor: OperationDescriptor, input: OperationInput) -> Self
Build a resolved checkout request.
Sourcepub fn descriptor(&self) -> &OperationDescriptor
pub fn descriptor(&self) -> &OperationDescriptor
Descriptor that will be used for dispatch.
Sourcepub fn into_parts(self) -> (OperationDescriptor, OperationInput)
pub fn into_parts(self) -> (OperationDescriptor, OperationInput)
Consume the checkout and return its parts.
Auto Trait Implementations§
impl Freeze for Checkout
impl RefUnwindSafe for Checkout
impl Send for Checkout
impl Sync for Checkout
impl Unpin for Checkout
impl UnsafeUnpin for Checkout
impl UnwindSafe for Checkout
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more