#[repr(u8)]pub enum ArchivedQueryResponseDatawhere
EngineStatus: Archive,
ContractsResponse: Archive,
FeeRatesResponse: Archive,
NoncesResponse: Archive,
LinkedSignerResponse: Archive,
SubaccountInfoResponse: Archive,
MarketPriceResponse: Archive,
MarketPricesResponse: Archive,
OrderResponse: Archive,
OrdersResponse: Archive,
ValidateOrderResponse: Archive,
SubaccountOrdersResponse: Archive,
MarketLiquidityResponse: Archive,
AllProductsResponse: Archive,
MaxOrderSizeResponse: Archive,
MaxWithdrawableResponse: Archive,
MaxLpMintableResponse: Archive,
HealthGroupsResponse: Archive,
InsuranceResponse: Archive,
VersionsResponse: Archive,
SymbolsResponse: Archive,
String: Archive,{
Show 22 variants
StatusResponse(Archived<EngineStatus>),
Contracts(Archived<ContractsResponse>),
FeeRates(Archived<FeeRatesResponse>),
Nonces(Archived<NoncesResponse>),
LinkedSigner(Archived<LinkedSignerResponse>),
SubaccountInfo(Archived<SubaccountInfoResponse>),
MarketPrice(Archived<MarketPriceResponse>),
MarketPrices(Archived<MarketPricesResponse>),
Order(Archived<OrderResponse>),
Orders(Archived<OrdersResponse>),
ValidateOrder(Archived<ValidateOrderResponse>),
SubaccountOrders(Archived<SubaccountOrdersResponse>),
MarketLiquidity(Archived<MarketLiquidityResponse>),
AllProducts(Archived<AllProductsResponse>),
MaxOrderSize(Archived<MaxOrderSizeResponse>),
MaxWithdrawable(Archived<MaxWithdrawableResponse>),
MaxLpMintable(Archived<MaxLpMintableResponse>),
HealthGroups(Archived<HealthGroupsResponse>),
Insurance(Archived<InsuranceResponse>),
Versions(Archived<VersionsResponse>),
Symbols(Archived<SymbolsResponse>),
Error(Archived<String>),
}
Expand description
An archived QueryResponseData
Variants§
StatusResponse(Archived<EngineStatus>)
The archived counterpart of QueryResponseData::StatusResponse
Tuple Fields
0: Archived<EngineStatus>
The archived counterpart of QueryResponseData::StatusResponse::0
Contracts(Archived<ContractsResponse>)
The archived counterpart of QueryResponseData::Contracts
Tuple Fields
0: Archived<ContractsResponse>
The archived counterpart of QueryResponseData::Contracts::0
FeeRates(Archived<FeeRatesResponse>)
The archived counterpart of QueryResponseData::FeeRates
Tuple Fields
0: Archived<FeeRatesResponse>
The archived counterpart of QueryResponseData::FeeRates::0
Nonces(Archived<NoncesResponse>)
The archived counterpart of QueryResponseData::Nonces
Tuple Fields
0: Archived<NoncesResponse>
The archived counterpart of QueryResponseData::Nonces::0
LinkedSigner(Archived<LinkedSignerResponse>)
The archived counterpart of QueryResponseData::LinkedSigner
Tuple Fields
0: Archived<LinkedSignerResponse>
The archived counterpart of QueryResponseData::LinkedSigner::0
SubaccountInfo(Archived<SubaccountInfoResponse>)
The archived counterpart of QueryResponseData::SubaccountInfo
Tuple Fields
0: Archived<SubaccountInfoResponse>
The archived counterpart of QueryResponseData::SubaccountInfo::0
MarketPrice(Archived<MarketPriceResponse>)
The archived counterpart of QueryResponseData::MarketPrice
Tuple Fields
0: Archived<MarketPriceResponse>
The archived counterpart of QueryResponseData::MarketPrice::0
MarketPrices(Archived<MarketPricesResponse>)
The archived counterpart of QueryResponseData::MarketPrices
Tuple Fields
0: Archived<MarketPricesResponse>
The archived counterpart of QueryResponseData::MarketPrices::0
Order(Archived<OrderResponse>)
The archived counterpart of QueryResponseData::Order
Tuple Fields
0: Archived<OrderResponse>
The archived counterpart of QueryResponseData::Order::0
Orders(Archived<OrdersResponse>)
The archived counterpart of QueryResponseData::Orders
Tuple Fields
0: Archived<OrdersResponse>
The archived counterpart of QueryResponseData::Orders::0
ValidateOrder(Archived<ValidateOrderResponse>)
The archived counterpart of QueryResponseData::ValidateOrder
Tuple Fields
0: Archived<ValidateOrderResponse>
The archived counterpart of QueryResponseData::ValidateOrder::0
SubaccountOrders(Archived<SubaccountOrdersResponse>)
The archived counterpart of QueryResponseData::SubaccountOrders
Tuple Fields
0: Archived<SubaccountOrdersResponse>
The archived counterpart of QueryResponseData::SubaccountOrders::0
MarketLiquidity(Archived<MarketLiquidityResponse>)
The archived counterpart of QueryResponseData::MarketLiquidity
Tuple Fields
0: Archived<MarketLiquidityResponse>
The archived counterpart of QueryResponseData::MarketLiquidity::0
AllProducts(Archived<AllProductsResponse>)
The archived counterpart of QueryResponseData::AllProducts
Tuple Fields
0: Archived<AllProductsResponse>
The archived counterpart of QueryResponseData::AllProducts::0
MaxOrderSize(Archived<MaxOrderSizeResponse>)
The archived counterpart of QueryResponseData::MaxOrderSize
Tuple Fields
0: Archived<MaxOrderSizeResponse>
The archived counterpart of QueryResponseData::MaxOrderSize::0
MaxWithdrawable(Archived<MaxWithdrawableResponse>)
The archived counterpart of QueryResponseData::MaxWithdrawable
Tuple Fields
0: Archived<MaxWithdrawableResponse>
The archived counterpart of QueryResponseData::MaxWithdrawable::0
MaxLpMintable(Archived<MaxLpMintableResponse>)
The archived counterpart of QueryResponseData::MaxLpMintable
Tuple Fields
0: Archived<MaxLpMintableResponse>
The archived counterpart of QueryResponseData::MaxLpMintable::0
HealthGroups(Archived<HealthGroupsResponse>)
The archived counterpart of QueryResponseData::HealthGroups
Tuple Fields
0: Archived<HealthGroupsResponse>
The archived counterpart of QueryResponseData::HealthGroups::0
Insurance(Archived<InsuranceResponse>)
The archived counterpart of QueryResponseData::Insurance
Tuple Fields
0: Archived<InsuranceResponse>
The archived counterpart of QueryResponseData::Insurance::0
Versions(Archived<VersionsResponse>)
The archived counterpart of QueryResponseData::Versions
Tuple Fields
0: Archived<VersionsResponse>
The archived counterpart of QueryResponseData::Versions::0
Symbols(Archived<SymbolsResponse>)
The archived counterpart of QueryResponseData::Symbols
Tuple Fields
0: Archived<SymbolsResponse>
The archived counterpart of QueryResponseData::Symbols::0
Error(Archived<String>)
The archived counterpart of QueryResponseData::Error
Tuple Fields
0: Archived<String>
The archived counterpart of QueryResponseData::Error::0
Trait Implementations§
source§impl<__C: ?Sized> CheckBytes<__C> for ArchivedQueryResponseDatawhere
EngineStatus: Archive,
ContractsResponse: Archive,
FeeRatesResponse: Archive,
NoncesResponse: Archive,
LinkedSignerResponse: Archive,
SubaccountInfoResponse: Archive,
MarketPriceResponse: Archive,
MarketPricesResponse: Archive,
OrderResponse: Archive,
OrdersResponse: Archive,
ValidateOrderResponse: Archive,
SubaccountOrdersResponse: Archive,
MarketLiquidityResponse: Archive,
AllProductsResponse: Archive,
MaxOrderSizeResponse: Archive,
MaxWithdrawableResponse: Archive,
MaxLpMintableResponse: Archive,
HealthGroupsResponse: Archive,
InsuranceResponse: Archive,
VersionsResponse: Archive,
SymbolsResponse: Archive,
String: Archive,
Archived<EngineStatus>: CheckBytes<__C>,
Archived<ContractsResponse>: CheckBytes<__C>,
Archived<FeeRatesResponse>: CheckBytes<__C>,
Archived<NoncesResponse>: CheckBytes<__C>,
Archived<LinkedSignerResponse>: CheckBytes<__C>,
Archived<SubaccountInfoResponse>: CheckBytes<__C>,
Archived<MarketPriceResponse>: CheckBytes<__C>,
Archived<MarketPricesResponse>: CheckBytes<__C>,
Archived<OrderResponse>: CheckBytes<__C>,
Archived<OrdersResponse>: CheckBytes<__C>,
Archived<ValidateOrderResponse>: CheckBytes<__C>,
Archived<SubaccountOrdersResponse>: CheckBytes<__C>,
Archived<MarketLiquidityResponse>: CheckBytes<__C>,
Archived<AllProductsResponse>: CheckBytes<__C>,
Archived<MaxOrderSizeResponse>: CheckBytes<__C>,
Archived<MaxWithdrawableResponse>: CheckBytes<__C>,
Archived<MaxLpMintableResponse>: CheckBytes<__C>,
Archived<HealthGroupsResponse>: CheckBytes<__C>,
Archived<InsuranceResponse>: CheckBytes<__C>,
Archived<VersionsResponse>: CheckBytes<__C>,
Archived<SymbolsResponse>: CheckBytes<__C>,
Archived<String>: CheckBytes<__C>,
impl<__C: ?Sized> CheckBytes<__C> for ArchivedQueryResponseDatawhere
EngineStatus: Archive,
ContractsResponse: Archive,
FeeRatesResponse: Archive,
NoncesResponse: Archive,
LinkedSignerResponse: Archive,
SubaccountInfoResponse: Archive,
MarketPriceResponse: Archive,
MarketPricesResponse: Archive,
OrderResponse: Archive,
OrdersResponse: Archive,
ValidateOrderResponse: Archive,
SubaccountOrdersResponse: Archive,
MarketLiquidityResponse: Archive,
AllProductsResponse: Archive,
MaxOrderSizeResponse: Archive,
MaxWithdrawableResponse: Archive,
MaxLpMintableResponse: Archive,
HealthGroupsResponse: Archive,
InsuranceResponse: Archive,
VersionsResponse: Archive,
SymbolsResponse: Archive,
String: Archive,
Archived<EngineStatus>: CheckBytes<__C>,
Archived<ContractsResponse>: CheckBytes<__C>,
Archived<FeeRatesResponse>: CheckBytes<__C>,
Archived<NoncesResponse>: CheckBytes<__C>,
Archived<LinkedSignerResponse>: CheckBytes<__C>,
Archived<SubaccountInfoResponse>: CheckBytes<__C>,
Archived<MarketPriceResponse>: CheckBytes<__C>,
Archived<MarketPricesResponse>: CheckBytes<__C>,
Archived<OrderResponse>: CheckBytes<__C>,
Archived<OrdersResponse>: CheckBytes<__C>,
Archived<ValidateOrderResponse>: CheckBytes<__C>,
Archived<SubaccountOrdersResponse>: CheckBytes<__C>,
Archived<MarketLiquidityResponse>: CheckBytes<__C>,
Archived<AllProductsResponse>: CheckBytes<__C>,
Archived<MaxOrderSizeResponse>: CheckBytes<__C>,
Archived<MaxWithdrawableResponse>: CheckBytes<__C>,
Archived<MaxLpMintableResponse>: CheckBytes<__C>,
Archived<HealthGroupsResponse>: CheckBytes<__C>,
Archived<InsuranceResponse>: CheckBytes<__C>,
Archived<VersionsResponse>: CheckBytes<__C>,
Archived<SymbolsResponse>: CheckBytes<__C>,
Archived<String>: CheckBytes<__C>,
§type Error = EnumCheckError<u8>
type Error = EnumCheckError<u8>
source§unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C,
) -> Result<&'__bytecheck Self, EnumCheckError<u8>>
unsafe fn check_bytes<'__bytecheck>( value: *const Self, context: &mut __C, ) -> Result<&'__bytecheck Self, EnumCheckError<u8>>
Auto Trait Implementations§
impl Freeze for ArchivedQueryResponseData
impl RefUnwindSafe for ArchivedQueryResponseData
impl Send for ArchivedQueryResponseData
impl Sync for ArchivedQueryResponseData
impl !Unpin for ArchivedQueryResponseData
impl UnwindSafe for ArchivedQueryResponseData
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<T> FmtForward for T
impl<T> FmtForward for T
source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.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>
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>
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moresource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.