#[non_exhaustive]pub struct CancelOrderInputBuilder { /* private fields */ }
Expand description
A builder for CancelOrderInput
.
Implementations§
source§impl CancelOrderInputBuilder
impl CancelOrderInputBuilder
sourcepub fn order_id(self, input: impl Into<String>) -> Self
pub fn order_id(self, input: impl Into<String>) -> Self
The ID of the order.
This field is required.sourcepub fn set_order_id(self, input: Option<String>) -> Self
pub fn set_order_id(self, input: Option<String>) -> Self
The ID of the order.
sourcepub fn get_order_id(&self) -> &Option<String>
pub fn get_order_id(&self) -> &Option<String>
The ID of the order.
sourcepub fn build(self) -> Result<CancelOrderInput, BuildError>
pub fn build(self) -> Result<CancelOrderInput, BuildError>
Consumes the builder and constructs a CancelOrderInput
.
source§impl CancelOrderInputBuilder
impl CancelOrderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelOrderOutput, SdkError<CancelOrderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelOrderOutput, SdkError<CancelOrderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelOrderInputBuilder
impl Clone for CancelOrderInputBuilder
source§fn clone(&self) -> CancelOrderInputBuilder
fn clone(&self) -> CancelOrderInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CancelOrderInputBuilder
impl Debug for CancelOrderInputBuilder
source§impl Default for CancelOrderInputBuilder
impl Default for CancelOrderInputBuilder
source§fn default() -> CancelOrderInputBuilder
fn default() -> CancelOrderInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CancelOrderInputBuilder
impl PartialEq for CancelOrderInputBuilder
source§fn eq(&self, other: &CancelOrderInputBuilder) -> bool
fn eq(&self, other: &CancelOrderInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelOrderInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CancelOrderInputBuilder
impl Send for CancelOrderInputBuilder
impl Sync for CancelOrderInputBuilder
impl Unpin for CancelOrderInputBuilder
impl UnwindSafe for CancelOrderInputBuilder
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>
Creates a shared type from an unshared type.