pub struct Request { /* private fields */ }

Implementations§

source§

impl Request

source

pub fn method(&self) -> &Method

source

pub fn path(&self) -> &str

source

pub fn params(&self) -> &[(String, String)]

source

pub fn credentials(&self) -> &Option<Credentials>

source

pub fn sign(&self) -> &bool

Trait Implementations§

source§

impl Debug for Request

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<APIKeyPermission> for Request

source§

fn from(request: APIKeyPermission) -> Request

Converts to this type from the input type.
source§

impl From<APITradingStatus> for Request

source§

fn from(request: APITradingStatus) -> Request

Converts to this type from the input type.
source§

impl From<Account> for Request

source§

fn from(request: Account) -> Request

Converts to this type from the input type.
source§

impl From<AccountSnapshot> for Request

source§

fn from(request: AccountSnapshot) -> Request

Converts to this type from the input type.
source§

impl From<AccountStatus> for Request

source§

fn from(request: AccountStatus) -> Request

Converts to this type from the input type.
source§

impl From<AggTrades> for Request

source§

fn from(request: AggTrades) -> Request

Converts to this type from the input type.
source§

impl From<AllOrders> for Request

source§

fn from(request: AllOrders) -> Request

Converts to this type from the input type.
source§

impl From<AssetDetail> for Request

source§

fn from(request: AssetDetail) -> Request

Converts to this type from the input type.
source§

impl From<AssetDividendRecord> for Request

source§

fn from(request: AssetDividendRecord) -> Request

Converts to this type from the input type.
source§

impl From<AvgPrice> for Request

source§

fn from(request: AvgPrice) -> Request

Converts to this type from the input type.
source§

impl From<BNBBurnStatus> for Request

source§

fn from(request: BNBBurnStatus) -> Request

Converts to this type from the input type.
source§

impl From<BookTicker> for Request

source§

fn from(request: BookTicker) -> Request

Converts to this type from the input type.
source§

impl From<CancelAnExistingOrderAndSendANewOrder> for Request

source§

fn from(request: CancelAnExistingOrderAndSendANewOrder) -> Request

Converts to this type from the input type.
source§

impl From<CancelOCOOrder> for Request

source§

fn from(request: CancelOCOOrder) -> Request

Converts to this type from the input type.
source§

impl From<CancelOpenOrders> for Request

source§

fn from(request: CancelOpenOrders) -> Request

Converts to this type from the input type.
source§

impl From<CancelOrder> for Request

source§

fn from(request: CancelOrder) -> Request

Converts to this type from the input type.
source§

impl From<CloseListenKey> for Request

source§

fn from(request: CloseListenKey) -> Request

Converts to this type from the input type.
source§

impl From<CloseListenKey> for Request

source§

fn from(request: CloseListenKey) -> Request

Converts to this type from the input type.
source§

impl From<CloseListenKey> for Request

source§

fn from(request: CloseListenKey) -> Request

Converts to this type from the input type.
source§

impl From<CoinInfo> for Request

source§

fn from(request: CoinInfo) -> Request

Converts to this type from the input type.
source§

impl From<DepositAddress> for Request

source§

fn from(request: DepositAddress) -> Request

Converts to this type from the input type.
source§

impl From<DepositHistory> for Request

source§

fn from(request: DepositHistory) -> Request

Converts to this type from the input type.
source§

impl From<Depth> for Request

source§

fn from(request: Depth) -> Request

Converts to this type from the input type.
source§

impl From<DisableFastWithdraw> for Request

source§

fn from(request: DisableFastWithdraw) -> Request

Converts to this type from the input type.
source§

impl From<DustLog> for Request

source§

fn from(request: DustLog) -> Request

Converts to this type from the input type.
source§

impl From<DustTransfer> for Request

source§

fn from(request: DustTransfer) -> Request

Converts to this type from the input type.
source§

impl From<DustableAssets> for Request

source§

fn from(request: DustableAssets) -> Request

Converts to this type from the input type.
source§

impl From<EnableFastWithdraw> for Request

source§

fn from(request: EnableFastWithdraw) -> Request

Converts to this type from the input type.
source§

impl From<ExchangeInfo> for Request

source§

fn from(request: ExchangeInfo) -> Request

Converts to this type from the input type.
source§

impl From<FundingWallet> for Request

source§

fn from(request: FundingWallet) -> Request

Converts to this type from the input type.
source§

impl From<GetOCOOrder> for Request

source§

fn from(request: GetOCOOrder) -> Request

Converts to this type from the input type.
source§

impl From<GetOCOOrders> for Request

source§

fn from(request: GetOCOOrders) -> Request

Converts to this type from the input type.
source§

impl From<GetOpenOCOOrders> for Request

source§

fn from(request: GetOpenOCOOrders) -> Request

Converts to this type from the input type.
source§

impl From<GetOrder> for Request

source§

fn from(request: GetOrder) -> Request

Converts to this type from the input type.
source§

impl From<HistoricalTrades> for Request

source§

fn from(request: HistoricalTrades) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginAccount> for Request

source§

fn from(request: IsolatedMarginAccount) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginAccountLimit> for Request

source§

fn from(request: IsolatedMarginAccountLimit) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginAllSymbols> for Request

source§

fn from(request: IsolatedMarginAllSymbols) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginDisableAccount> for Request

source§

fn from(request: IsolatedMarginDisableAccount) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginEnableAccount> for Request

source§

fn from(request: IsolatedMarginEnableAccount) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginFeeData> for Request

source§

fn from(request: IsolatedMarginFeeData) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginSymbol> for Request

source§

fn from(request: IsolatedMarginSymbol) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginTierData> for Request

source§

fn from(request: IsolatedMarginTierData) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginTransfer> for Request

source§

fn from(request: IsolatedMarginTransfer) -> Request

Converts to this type from the input type.
source§

impl From<IsolatedMarginTransferHistory> for Request

source§

fn from(request: IsolatedMarginTransferHistory) -> Request

Converts to this type from the input type.
source§

impl From<Klines> for Request

source§

fn from(request: Klines) -> Request

Converts to this type from the input type.
source§

impl From<MarginAccount> for Request

source§

fn from(request: MarginAccount) -> Request

Converts to this type from the input type.
source§

impl From<MarginAllAssets> for Request

source§

fn from(_request: MarginAllAssets) -> Request

Converts to this type from the input type.
source§

impl From<MarginAllOCOOrder> for Request

source§

fn from(request: MarginAllOCOOrder) -> Request

Converts to this type from the input type.
source§

impl From<MarginAllOrders> for Request

source§

fn from(request: MarginAllOrders) -> Request

Converts to this type from the input type.
source§

impl From<MarginAllPairs> for Request

source§

fn from(_request: MarginAllPairs) -> Request

Converts to this type from the input type.
source§

impl From<MarginAsset> for Request

source§

fn from(request: MarginAsset) -> Request

Converts to this type from the input type.
source§

impl From<MarginBorrow> for Request

source§

fn from(request: MarginBorrow) -> Request

Converts to this type from the input type.
source§

impl From<MarginCancelOCOOrder> for Request

source§

fn from(request: MarginCancelOCOOrder) -> Request

Converts to this type from the input type.
source§

impl From<MarginCancelOpenOrders> for Request

source§

fn from(request: MarginCancelOpenOrders) -> Request

Converts to this type from the input type.
source§

impl From<MarginCancelOrder> for Request

source§

fn from(request: MarginCancelOrder) -> Request

Converts to this type from the input type.
source§

impl From<MarginDustlog> for Request

source§

fn from(request: MarginDustlog) -> Request

Converts to this type from the input type.
source§

impl From<MarginFeeData> for Request

source§

fn from(request: MarginFeeData) -> Request

Converts to this type from the input type.
source§

impl From<MarginForceLiquidationRecord> for Request

source§

fn from(request: MarginForceLiquidationRecord) -> Request

Converts to this type from the input type.
source§

impl From<MarginInterestHistory> for Request

source§

fn from(request: MarginInterestHistory) -> Request

Converts to this type from the input type.
source§

impl From<MarginInterestRateHistory> for Request

source§

fn from(request: MarginInterestRateHistory) -> Request

Converts to this type from the input type.
source§

impl From<MarginLoanRecord> for Request

source§

fn from(request: MarginLoanRecord) -> Request

Converts to this type from the input type.
source§

impl From<MarginMaxBorrowable> for Request

source§

fn from(request: MarginMaxBorrowable) -> Request

Converts to this type from the input type.
source§

impl From<MarginMaxTransferable> for Request

source§

fn from(request: MarginMaxTransferable) -> Request

Converts to this type from the input type.
source§

impl From<MarginMyTrades> for Request

source§

fn from(request: MarginMyTrades) -> Request

Converts to this type from the input type.
source§

impl From<MarginNewOCOOrder> for Request

source§

fn from(request: MarginNewOCOOrder) -> Request

Converts to this type from the input type.
source§

impl From<MarginNewOrder> for Request

source§

fn from(request: MarginNewOrder) -> Request

Converts to this type from the input type.
source§

impl From<MarginOCOOrder> for Request

source§

fn from(request: MarginOCOOrder) -> Request

Converts to this type from the input type.
source§

impl From<MarginOpenOCOOrder> for Request

source§

fn from(request: MarginOpenOCOOrder) -> Request

Converts to this type from the input type.
source§

impl From<MarginOpenOrders> for Request

source§

fn from(request: MarginOpenOrders) -> Request

Converts to this type from the input type.
source§

impl From<MarginOrder> for Request

source§

fn from(request: MarginOrder) -> Request

Converts to this type from the input type.
source§

impl From<MarginOrderCountUsage> for Request

source§

fn from(request: MarginOrderCountUsage) -> Request

Converts to this type from the input type.
source§

impl From<MarginPair> for Request

source§

fn from(request: MarginPair) -> Request

Converts to this type from the input type.
source§

impl From<MarginPriceIndex> for Request

source§

fn from(request: MarginPriceIndex) -> Request

Converts to this type from the input type.
source§

impl From<MarginRepay> for Request

source§

fn from(request: MarginRepay) -> Request

Converts to this type from the input type.
source§

impl From<MarginRepayRecord> for Request

source§

fn from(request: MarginRepayRecord) -> Request

Converts to this type from the input type.
source§

impl From<MarginTransfer> for Request

source§

fn from(request: MarginTransfer) -> Request

Converts to this type from the input type.
source§

impl From<MarginTransferHistory> for Request

source§

fn from(request: MarginTransferHistory) -> Request

Converts to this type from the input type.
source§

impl From<MyTrades> for Request

source§

fn from(request: MyTrades) -> Request

Converts to this type from the input type.
source§

impl From<NewListenKey> for Request

source§

fn from(_request: NewListenKey) -> Request

Converts to this type from the input type.
source§

impl From<NewListenKey> for Request

source§

fn from(request: NewListenKey) -> Request

Converts to this type from the input type.
source§

impl From<NewListenKey> for Request

source§

fn from(_request: NewListenKey) -> Request

Converts to this type from the input type.
source§

impl From<NewOCOOrder> for Request

source§

fn from(request: NewOCOOrder) -> Request

Converts to this type from the input type.
source§

impl From<NewOrder> for Request

source§

fn from(request: NewOrder) -> Request

Converts to this type from the input type.
source§

impl From<NewOrderTest> for Request

source§

fn from(request: NewOrderTest) -> Request

Converts to this type from the input type.
source§

impl From<OpenOrders> for Request

source§

fn from(request: OpenOrders) -> Request

Converts to this type from the input type.
source§

impl From<OrderLimitUsage> for Request

source§

fn from(request: OrderLimitUsage) -> Request

Converts to this type from the input type.
source§

impl From<Ping> for Request

source§

fn from(_request: Ping) -> Request

Converts to this type from the input type.
source§

impl From<RenewListenKey> for Request

source§

fn from(request: RenewListenKey) -> Request

Converts to this type from the input type.
source§

impl From<RenewListenKey> for Request

source§

fn from(request: RenewListenKey) -> Request

Converts to this type from the input type.
source§

impl From<RenewListenKey> for Request

source§

fn from(request: RenewListenKey) -> Request

Converts to this type from the input type.
source§

impl From<RequestBuilder> for Request

source§

fn from(builder: RequestBuilder) -> Request

Converts to this type from the input type.
source§

impl From<RollingWindowPriceChangeStatistics> for Request

source§

fn from(request: RollingWindowPriceChangeStatistics) -> Request

Converts to this type from the input type.
source§

impl From<SystemStatus> for Request

source§

fn from(_request: SystemStatus) -> Request

Converts to this type from the input type.
source§

impl From<Ticker24hr> for Request

source§

fn from(request: Ticker24hr) -> Request

Converts to this type from the input type.
source§

impl From<TickerPrice> for Request

source§

fn from(request: TickerPrice) -> Request

Converts to this type from the input type.
source§

impl From<Time> for Request

source§

fn from(_request: Time) -> Request

Converts to this type from the input type.
source§

impl From<ToggleBNBBurn> for Request

source§

fn from(request: ToggleBNBBurn) -> Request

Converts to this type from the input type.
source§

impl From<TradeFee> for Request

source§

fn from(request: TradeFee) -> Request

Converts to this type from the input type.
source§

impl From<Trades> for Request

source§

fn from(request: Trades) -> Request

Converts to this type from the input type.
source§

impl From<UniversalTransfer> for Request

source§

fn from(request: UniversalTransfer) -> Request

Converts to this type from the input type.
source§

impl From<UniversalTransferHistory> for Request

source§

fn from(request: UniversalTransferHistory) -> Request

Converts to this type from the input type.
source§

impl From<UserAsset> for Request

source§

fn from(request: UserAsset) -> Request

Converts to this type from the input type.
source§

impl From<Withdraw> for Request

source§

fn from(request: Withdraw) -> Request

Converts to this type from the input type.
source§

impl From<WithdrawHistory> for Request

source§

fn from(request: WithdrawHistory) -> Request

Converts to this type from the input type.
source§

impl PartialEq for Request

source§

fn eq(&self, other: &Request) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for Request

source§

impl StructuralEq for Request

source§

impl StructuralPartialEq for Request

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V