Struct paypal_rust::resources::order::PatchOrder
source · [−]pub struct PatchOrder { /* private fields */ }
Implementations
sourceimpl PatchOrder
impl PatchOrder
pub fn new(order_id: String, order: PatchOrderDto) -> Self
Trait Implementations
sourceimpl Debug for PatchOrder
impl Debug for PatchOrder
sourceimpl Endpoint for PatchOrder
impl Endpoint for PatchOrder
type QueryParams = ()
type QueryParams = ()
The query parameters the endpoint accepts.
type RequestBody = Vec<Patch, Global>
type RequestBody = Vec<Patch, Global>
The request body the endpoint accepts.
type ResponseBody = EmptyResponseBody
type ResponseBody = EmptyResponseBody
The response body the endpoint returns.
sourcefn request_body(&self) -> Option<Self::RequestBody>
fn request_body(&self) -> Option<Self::RequestBody>
The request body to send with the request.
sourcefn request_method(&self) -> Method
fn request_method(&self) -> Method
The HTTP method to use for the request.
sourcefn headers(&self) -> HttpRequestHeaders
fn headers(&self) -> HttpRequestHeaders
The headers to send with the request.
sourcefn query(&self) -> Option<Self::QueryParams>
fn query(&self) -> Option<Self::QueryParams>
The query parameters to send with the request.
sourcefn request_strategy(&self) -> RequestStrategy
fn request_strategy(&self) -> RequestStrategy
The request strategy to use.
sourcefn auth_strategy(&self) -> AuthStrategy
fn auth_strategy(&self) -> AuthStrategy
The authorization strategy to use.
sourcefn request_url(&self, environment: Environment) -> Url
fn request_url(&self, environment: Environment) -> Url
The URL to send the request to. DO NOT OVERRIDE THIS METHOD.
Auto Trait Implementations
impl RefUnwindSafe for PatchOrder
impl Send for PatchOrder
impl Sync for PatchOrder
impl Unpin for PatchOrder
impl UnwindSafe for PatchOrder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more