Skip to main content

TokenTradeStatPeriod

Struct TokenTradeStatPeriod 

Source
pub struct TokenTradeStatPeriod {
Show 54 fields pub average_price_in_native: Option<String>, pub average_price_in_usd: Option<String>, pub buy_sell_ratio: Option<String>, pub buy_volume: Option<String>, pub buy_volume_in_native: Option<String>, pub buy_volume_in_usd: Option<String>, pub buyers: Option<String>, pub buys: Option<String>, pub close_in_native: Option<String>, pub close_in_usd: Option<String>, pub current_liquidity_in_usd: Option<String>, pub dapp_program_count: Option<String>, pub high_in_native: Option<String>, pub high_in_usd: Option<String>, pub liquidity_change_ratio: Option<String>, pub low_in_native: Option<String>, pub low_in_usd: Option<String>, pub open_in_native: Option<String>, pub open_in_usd: Option<String>, pub pool_count: Option<String>, pub prev_buy_volume: Option<String>, pub prev_buy_volume_in_native: Option<String>, pub prev_buy_volume_in_usd: Option<String>, pub prev_buyers: Option<String>, pub prev_buys: Option<String>, pub prev_close_in_native: Option<String>, pub prev_close_in_usd: Option<String>, pub prev_dapp_program_count: Option<String>, pub prev_high_in_native: Option<String>, pub prev_high_in_usd: Option<String>, pub prev_liquidity_in_usd: Option<String>, pub prev_low_in_native: Option<String>, pub prev_low_in_usd: Option<String>, pub prev_open_in_native: Option<String>, pub prev_open_in_usd: Option<String>, pub prev_pool_count: Option<String>, pub prev_sell_volume: Option<String>, pub prev_sell_volume_in_native: Option<String>, pub prev_sell_volume_in_usd: Option<String>, pub prev_sellers: Option<String>, pub prev_sells: Option<String>, pub prev_trades: Option<String>, pub price_change_ratio_in_usd: Option<String>, pub sell_volume: Option<String>, pub sell_volume_in_native: Option<String>, pub sell_volume_in_usd: Option<String>, pub sellers: Option<String>, pub sells: Option<String>, pub total_volume_in_native: Option<String>, pub total_volume_in_usd: Option<String>, pub traders: Option<String>, pub trades: Option<String>, pub updated_at: Option<String>, pub volume_change_ratio: Option<String>,
}
Expand description

Single time window trade statistics period

JSON schema
{
 "description": "Single time window trade statistics period",
 "type": "object",
 "properties": {
   "averagePriceInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.AVERAGE_PRICE_IN_NATIVE",
     "examples": [
       "0.00005100"
     ],
     "type": "string"
   },
   "averagePriceInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.AVERAGE_PRICE_IN_USD",
     "examples": [
       "0.15300000"
     ],
     "type": "string"
   },
   "buySellRatio": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.BUY_SELL_RATIO",
     "examples": [
       "1.5510"
     ],
     "type": "string"
   },
   "buyVolume": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.BUY_VOLUME",
     "examples": [
       "15000000.12345678"
     ],
     "type": "string"
   },
   "buyVolumeInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.BUY_VOLUME_IN_NATIVE",
     "examples": [
       "750.50"
     ],
     "type": "string"
   },
   "buyVolumeInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.BUY_VOLUME_IN_USD",
     "examples": [
       "45000.00"
     ],
     "type": "string"
   },
   "buyers": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.BUYERS",
     "examples": [
       "320"
     ],
     "type": "string"
   },
   "buys": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.BUYS",
     "examples": [
       "1520"
     ],
     "type": "string"
   },
   "closeInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.CLOSE_IN_NATIVE",
     "examples": [
       "0.00005200"
     ],
     "type": "string"
   },
   "closeInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.CLOSE_IN_USD",
     "examples": [
       "0.15600000"
     ],
     "type": "string"
   },
   "currentLiquidityInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.CURRENT_LIQUIDITY_IN_USD",
     "examples": [
       "250000.00"
     ],
     "type": "string"
   },
   "dappProgramCount": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.DAPP_PROGRAM_COUNT",
     "examples": [
       "8"
     ],
     "type": "string"
   },
   "highInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.HIGH_IN_NATIVE",
     "examples": [
       "0.00005300"
     ],
     "type": "string"
   },
   "highInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.HIGH_IN_USD",
     "examples": [
       "0.15900000"
     ],
     "type": "string"
   },
   "liquidityChangeRatio": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.LIQUIDITY_CHANGE_RATIO",
     "examples": [
       "0.0417"
     ],
     "type": "string"
   },
   "lowInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.LOW_IN_NATIVE",
     "examples": [
       "0.00005000"
     ],
     "type": "string"
   },
   "lowInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.LOW_IN_USD",
     "examples": [
       "0.15000000"
     ],
     "type": "string"
   },
   "openInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.OPEN_IN_NATIVE",
     "examples": [
       "0.00005000"
     ],
     "type": "string"
   },
   "openInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.OPEN_IN_USD",
     "examples": [
       "0.15000000"
     ],
     "type": "string"
   },
   "poolCount": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.POOL_COUNT",
     "examples": [
       "12"
     ],
     "type": "string"
   },
   "prevBuyVolume": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUY_VOLUME",
     "examples": [
       "14000000.00"
     ],
     "type": "string"
   },
   "prevBuyVolumeInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUY_VOLUME_IN_NATIVE",
     "examples": [
       "700.00"
     ],
     "type": "string"
   },
   "prevBuyVolumeInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUY_VOLUME_IN_USD",
     "examples": [
       "42000.00"
     ],
     "type": "string"
   },
   "prevBuyers": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUYERS",
     "examples": [
       "300"
     ],
     "type": "string"
   },
   "prevBuys": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUYS",
     "examples": [
       "1400"
     ],
     "type": "string"
   },
   "prevCloseInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_CLOSE_IN_NATIVE",
     "examples": [
       "0.00005100"
     ],
     "type": "string"
   },
   "prevCloseInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_CLOSE_IN_USD",
     "examples": [
       "0.15100000"
     ],
     "type": "string"
   },
   "prevDappProgramCount": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_DAPP_PROGRAM_COUNT",
     "examples": [
       "7"
     ],
     "type": "string"
   },
   "prevHighInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_HIGH_IN_NATIVE",
     "examples": [
       "0.00005100"
     ],
     "type": "string"
   },
   "prevHighInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_HIGH_IN_USD",
     "examples": [
       "0.15200000"
     ],
     "type": "string"
   },
   "prevLiquidityInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_LIQUIDITY_IN_USD",
     "examples": [
       "240000.00"
     ],
     "type": "string"
   },
   "prevLowInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_LOW_IN_NATIVE",
     "examples": [
       "0.00004800"
     ],
     "type": "string"
   },
   "prevLowInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_LOW_IN_USD",
     "examples": [
       "0.14500000"
     ],
     "type": "string"
   },
   "prevOpenInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_OPEN_IN_NATIVE",
     "examples": [
       "0.00004900"
     ],
     "type": "string"
   },
   "prevOpenInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_OPEN_IN_USD",
     "examples": [
       "0.14800000"
     ],
     "type": "string"
   },
   "prevPoolCount": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_POOL_COUNT",
     "examples": [
       "10"
     ],
     "type": "string"
   },
   "prevSellVolume": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELL_VOLUME",
     "examples": [
       "11000000.00"
     ],
     "type": "string"
   },
   "prevSellVolumeInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELL_VOLUME_IN_NATIVE",
     "examples": [
       "550.00"
     ],
     "type": "string"
   },
   "prevSellVolumeInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELL_VOLUME_IN_USD",
     "examples": [
       "33000.00"
     ],
     "type": "string"
   },
   "prevSellers": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELLERS",
     "examples": [
       "200"
     ],
     "type": "string"
   },
   "prevSells": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELLS",
     "examples": [
       "900"
     ],
     "type": "string"
   },
   "prevTrades": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_TRADES",
     "examples": [
       "2300"
     ],
     "type": "string"
   },
   "priceChangeRatioInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.PRICE_CHANGE_RATIO_IN_USD",
     "examples": [
       "0.04000000"
     ],
     "type": "string"
   },
   "sellVolume": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.SELL_VOLUME",
     "examples": [
       "12000000.98765432"
     ],
     "type": "string"
   },
   "sellVolumeInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.SELL_VOLUME_IN_NATIVE",
     "examples": [
       "600.40"
     ],
     "type": "string"
   },
   "sellVolumeInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.SELL_VOLUME_IN_USD",
     "examples": [
       "36000.00"
     ],
     "type": "string"
   },
   "sellers": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.SELLERS",
     "examples": [
       "210"
     ],
     "type": "string"
   },
   "sells": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.SELLS",
     "examples": [
       "980"
     ],
     "type": "string"
   },
   "totalVolumeInNative": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.TOTAL_VOLUME_IN_NATIVE",
     "examples": [
       "1350.90"
     ],
     "type": "string"
   },
   "totalVolumeInUsd": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.TOTAL_VOLUME_IN_USD",
     "examples": [
       "81000.00"
     ],
     "type": "string"
   },
   "traders": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.TRADERS",
     "examples": [
       "530"
     ],
     "type": "string"
   },
   "trades": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.TRADES",
     "examples": [
       "2500"
     ],
     "type": "string"
   },
   "updatedAt": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.UPDATED_AT",
     "examples": [
       "2026-02-09T08:05:12.345Z"
     ],
     "type": "string"
   },
   "volumeChangeRatio": {
     "description": "ENTITY.TOKEN_TRADE_STAT_PERIOD.VOLUME_CHANGE_RATIO",
     "examples": [
       "0.25"
     ],
     "type": "string"
   }
 }
}

Fields§

§average_price_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.AVERAGE_PRICE_IN_NATIVE

§average_price_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.AVERAGE_PRICE_IN_USD

§buy_sell_ratio: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.BUY_SELL_RATIO

§buy_volume: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.BUY_VOLUME

§buy_volume_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.BUY_VOLUME_IN_NATIVE

§buy_volume_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.BUY_VOLUME_IN_USD

§buyers: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.BUYERS

§buys: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.BUYS

§close_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.CLOSE_IN_NATIVE

§close_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.CLOSE_IN_USD

§current_liquidity_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.CURRENT_LIQUIDITY_IN_USD

§dapp_program_count: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.DAPP_PROGRAM_COUNT

§high_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.HIGH_IN_NATIVE

§high_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.HIGH_IN_USD

§liquidity_change_ratio: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.LIQUIDITY_CHANGE_RATIO

§low_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.LOW_IN_NATIVE

§low_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.LOW_IN_USD

§open_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.OPEN_IN_NATIVE

§open_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.OPEN_IN_USD

§pool_count: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.POOL_COUNT

§prev_buy_volume: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUY_VOLUME

§prev_buy_volume_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUY_VOLUME_IN_NATIVE

§prev_buy_volume_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUY_VOLUME_IN_USD

§prev_buyers: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUYERS

§prev_buys: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_BUYS

§prev_close_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_CLOSE_IN_NATIVE

§prev_close_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_CLOSE_IN_USD

§prev_dapp_program_count: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_DAPP_PROGRAM_COUNT

§prev_high_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_HIGH_IN_NATIVE

§prev_high_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_HIGH_IN_USD

§prev_liquidity_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_LIQUIDITY_IN_USD

§prev_low_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_LOW_IN_NATIVE

§prev_low_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_LOW_IN_USD

§prev_open_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_OPEN_IN_NATIVE

§prev_open_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_OPEN_IN_USD

§prev_pool_count: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_POOL_COUNT

§prev_sell_volume: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELL_VOLUME

§prev_sell_volume_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELL_VOLUME_IN_NATIVE

§prev_sell_volume_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELL_VOLUME_IN_USD

§prev_sellers: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELLERS

§prev_sells: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_SELLS

§prev_trades: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PREV_TRADES

§price_change_ratio_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.PRICE_CHANGE_RATIO_IN_USD

§sell_volume: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.SELL_VOLUME

§sell_volume_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.SELL_VOLUME_IN_NATIVE

§sell_volume_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.SELL_VOLUME_IN_USD

§sellers: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.SELLERS

§sells: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.SELLS

§total_volume_in_native: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.TOTAL_VOLUME_IN_NATIVE

§total_volume_in_usd: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.TOTAL_VOLUME_IN_USD

§traders: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.TRADERS

§trades: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.TRADES

§updated_at: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.UPDATED_AT

§volume_change_ratio: Option<String>

ENTITY.TOKEN_TRADE_STAT_PERIOD.VOLUME_CHANGE_RATIO

Implementations§

Trait Implementations§

Source§

impl Clone for TokenTradeStatPeriod

Source§

fn clone(&self) -> TokenTradeStatPeriod

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TokenTradeStatPeriod

Source§

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

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

impl Default for TokenTradeStatPeriod

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for TokenTradeStatPeriod

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<&TokenTradeStatPeriod> for TokenTradeStatPeriod

Source§

fn from(value: &TokenTradeStatPeriod) -> Self

Converts to this type from the input type.
Source§

impl From<TokenTradeStatPeriod> for TokenTradeStatPeriod

Source§

fn from(value: TokenTradeStatPeriod) -> Self

Converts to this type from the input type.
Source§

impl Serialize for TokenTradeStatPeriod

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<TokenTradeStatPeriod> for TokenTradeStatPeriod

Source§

type Error = ConversionError

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

fn try_from(value: TokenTradeStatPeriod) -> Result<Self, ConversionError>

Performs the conversion.

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

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>,

Source§

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.
Source§

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

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,