pub struct OrderStatusParamsBuilder { /* private fields */ }Expand description
Builder for OrderStatusParams.
Implementations§
Source§impl OrderStatusParamsBuilder
impl OrderStatusParamsBuilder
Sourcepub fn order_id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn order_id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Either orderId or quoteId is required
This field is **optional.
Sourcepub fn quote_id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn quote_id<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
Either orderId or quoteId is required
This field is **optional.
Sourcepub fn build(self) -> Result<OrderStatusParams, ParamBuildError>
pub fn build(self) -> Result<OrderStatusParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OrderStatusParamsBuilder
impl RefUnwindSafe for OrderStatusParamsBuilder
impl Send for OrderStatusParamsBuilder
impl Sync for OrderStatusParamsBuilder
impl Unpin for OrderStatusParamsBuilder
impl UnsafeUnpin for OrderStatusParamsBuilder
impl UnwindSafe for OrderStatusParamsBuilder
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