pub struct Change;Expand description
The representation of a PATCH request to the /v2/orders/{order-id} endpoint.
Trait Implementations§
Source§impl Endpoint for Change
impl Endpoint for Change
Source§type Input = (Id, ChangeReq)
type Input = (Id, ChangeReq)
The type of data being passed in as part of a request to this
endpoint.
Source§type Error = ChangeError
type Error = ChangeError
The type of error this endpoint can report.
Source§type ConversionError = ConversionError
type ConversionError = ConversionError
An error emitted when converting between formats.
Source§fn body(input: &Self::Input) -> Result<Option<Bytes>, Self::ConversionError>
fn body(input: &Self::Input) -> Result<Option<Bytes>, Self::ConversionError>
Retrieve the request’s body. Read more
Source§fn parse(body: &[u8]) -> Result<Self::Output, Self::ConversionError>
fn parse(body: &[u8]) -> Result<Self::Output, Self::ConversionError>
Parse the body into the final result.
impl Copy for Change
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
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