Struct tokio_binance::builder::ParamBuilder [−][src]
Implementations
impl<'a, 'b, T> ParamBuilder<'a, 'b, T>
[src]
pub async fn text(self) -> Result<String>
[src]
pub async fn json<J: DeserializeOwned>(self) -> Result<J>
[src]
impl<'a, 'b, T: Symbol> ParamBuilder<'a, 'b, T>
[src]
pub fn with_symbol(mut self: Self, symbol: &'a str) -> Self
[src]
impl<'a, 'b, T: Limit> ParamBuilder<'a, 'b, T>
[src]
pub fn with_limit(mut self: Self, limit: usize) -> Self
[src]
impl<'a, 'b, T: FromId> ParamBuilder<'a, 'b, T>
[src]
pub fn with_from_id(mut self: Self, from_id: i64) -> Self
[src]
impl<'a, 'b, T: StartTime> ParamBuilder<'a, 'b, T>
[src]
pub fn with_start_time<Tz: TimeZone>(
mut self: Self,
start_time: DateTime<Tz>
) -> Self
[src]
mut self: Self,
start_time: DateTime<Tz>
) -> Self
impl<'a, 'b, T: EndTime> ParamBuilder<'a, 'b, T>
[src]
pub fn with_end_time<Tz: TimeZone>(
mut self: Self,
end_time: DateTime<Tz>
) -> Self
[src]
mut self: Self,
end_time: DateTime<Tz>
) -> Self
impl<'a, 'b, T: TimeInForce> ParamBuilder<'a, 'b, T>
[src]
pub fn with_time_in_force(mut self: Self, time_in_force: TimeInForce) -> Self
[src]
impl<'a, 'b, T: Price> ParamBuilder<'a, 'b, T>
[src]
pub fn with_price(mut self: Self, price: f64) -> Self
[src]
impl<'a, 'b, T: NewClientOrderId> ParamBuilder<'a, 'b, T>
[src]
pub fn with_new_client_order_id(
mut self: Self,
new_client_order_id: &'a str
) -> Self
[src]
mut self: Self,
new_client_order_id: &'a str
) -> Self
impl<'a, 'b, T: MarketOrderStopPrice> ParamBuilder<'a, 'b, T>
[src]
pub fn with_stop_loss(mut self: Self, stop_price: f64) -> Self
[src]
pub fn with_take_profit(mut self: Self, stop_price: f64) -> Self
[src]
impl<'a, 'b, T: LimitOrderStopPrice> ParamBuilder<'a, 'b, T>
[src]
pub fn with_stop_loss_limit(mut self: Self, stop_price: f64) -> Self
[src]
pub fn with_take_profit_limit(mut self: Self, stop_price: f64) -> Self
[src]
impl<'a, 'b, T: LimitMaker> ParamBuilder<'a, 'b, T>
[src]
pub fn into_limit_maker_order(
self
) -> ParamBuilder<'a, 'b, LimitMakerOrderParams>
[src]
self
) -> ParamBuilder<'a, 'b, LimitMakerOrderParams>
impl<'a, 'b, T: IcebergQty> ParamBuilder<'a, 'b, T>
[src]
pub fn with_iceberg_qty(mut self: Self, iceberg_qty: f64) -> Self
[src]
impl<'a, 'b, T: NewOrderRespType> ParamBuilder<'a, 'b, T>
[src]
pub fn with_new_order_resp_type(
mut self: Self,
new_order_resp_type: OrderRespType
) -> Self
[src]
mut self: Self,
new_order_resp_type: OrderRespType
) -> Self
impl<'a, 'b, T: OrderId> ParamBuilder<'a, 'b, T>
[src]
pub fn with_order_id(mut self: Self, order_id: i64) -> Self
[src]
impl<'a, 'b, T: ListClientOrderId> ParamBuilder<'a, 'b, T>
[src]
pub fn with_list_client_order_id(
mut self: Self,
list_client_order_id: &'a str
) -> Self
[src]
mut self: Self,
list_client_order_id: &'a str
) -> Self
impl<'a, 'b, T: LimitClientOrderId> ParamBuilder<'a, 'b, T>
[src]
pub fn with_limit_client_order_id(
mut self: Self,
limit_client_order_id: &'a str
) -> Self
[src]
mut self: Self,
limit_client_order_id: &'a str
) -> Self
impl<'a, 'b, T: StopClientOrderId> ParamBuilder<'a, 'b, T>
[src]
pub fn with_stop_client_order_id(
mut self: Self,
stop_client_order_id: &'a str
) -> Self
[src]
mut self: Self,
stop_client_order_id: &'a str
) -> Self
impl<'a, 'b, T: LimitIcebergQty> ParamBuilder<'a, 'b, T>
[src]
pub fn with_limit_iceberg_qty(mut self: Self, limit_iceberg_qty: f64) -> Self
[src]
impl<'a, 'b, T: StopIcebergQty> ParamBuilder<'a, 'b, T>
[src]
pub fn with_stop_iceberg_qty(mut self: Self, stop_iceberg_qty: f64) -> Self
[src]
impl<'a, 'b, T: StopLimitPrice> ParamBuilder<'a, 'b, T>
[src]
pub fn with_stop_limit_price(
mut self: Self,
stop_limit_price: f64,
time_in_force: TimeInForce
) -> Self
[src]
mut self: Self,
stop_limit_price: f64,
time_in_force: TimeInForce
) -> Self
impl<'a, 'b, T: AddressTag> ParamBuilder<'a, 'b, T>
[src]
pub fn with_address_tag(mut self: Self, address_tag: &'a str) -> Self
[src]
impl<'a, 'b, T: Name> ParamBuilder<'a, 'b, T>
[src]
impl<'a, 'b, T: Asset> ParamBuilder<'a, 'b, T>
[src]
pub fn with_asset(mut self: Self, asset: &'a str) -> Self
[src]
impl<'a, 'b, T: Status> ParamBuilder<'a, 'b, T>
[src]
pub fn with_status<J: Into<Value>>(mut self: Self, status: J) -> Self
[src]
impl<'a, 'b, T: Email> ParamBuilder<'a, 'b, T>
[src]
pub fn with_email(mut self: Self, email: &'a str) -> Self
[src]
impl<'a, 'b, T: Page> ParamBuilder<'a, 'b, T>
[src]
impl<'a, 'b, T: RecvWindow> ParamBuilder<'a, 'b, T>
[src]
pub fn with_recv_window(mut self: Self, recv_window: usize) -> Self
[src]
Auto Trait Implementations
impl<'a, 'b, T> !RefUnwindSafe for ParamBuilder<'a, 'b, T>
[src]
impl<'a, 'b, T> Send for ParamBuilder<'a, 'b, T> where
T: Send,
[src]
T: Send,
impl<'a, 'b, T> Sync for ParamBuilder<'a, 'b, T> where
T: Sync,
[src]
T: Sync,
impl<'a, 'b, T> Unpin for ParamBuilder<'a, 'b, T> where
T: Unpin,
[src]
T: Unpin,
impl<'a, 'b, T> !UnwindSafe for ParamBuilder<'a, 'b, T>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,