pub struct PlaceOrder {
pub place: Place,
pub opts: Arc<PlaceOrderOptions>,
}Expand description
Place order.
Fields§
§place: PlacePlace.
opts: Arc<PlaceOrderOptions>Options.
Implementations§
Source§impl PlaceOrder
impl PlaceOrder
Sourcepub fn new(place: Place, opts: &PlaceOrderOptions) -> Self
pub fn new(place: Place, opts: &PlaceOrderOptions) -> Self
Create a new request to place order.
Trait Implementations§
Source§impl Clone for PlaceOrder
impl Clone for PlaceOrder
Source§fn clone(&self) -> PlaceOrder
fn clone(&self) -> PlaceOrder
Returns a duplicate 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 PlaceOrder
impl Debug for PlaceOrder
Auto Trait Implementations§
impl Freeze for PlaceOrder
impl RefUnwindSafe for PlaceOrder
impl Send for PlaceOrder
impl Sync for PlaceOrder
impl Unpin for PlaceOrder
impl UnwindSafe for PlaceOrder
Blanket Implementations§
Source§impl<T, R, E> Adaptor<R> for T
impl<T, R, E> Adaptor<R> for T
Source§fn from_request(req: R) -> Result<T, ExchangeError>
fn from_request(req: R) -> Result<T, ExchangeError>
Convert from request.
Source§fn into_response(
resp: <T as Request>::Response,
) -> Result<<R as Request>::Response, ExchangeError>
fn into_response( resp: <T as Request>::Response, ) -> Result<<R as Request>::Response, ExchangeError>
Convert into response.
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