Skip to main content

QtaAuth6024Rsp

Struct QtaAuth6024Rsp 

Source
pub struct QtaAuth6024Rsp {
Show 66 fields pub hk_qut_own_auth: Option<u32>, pub hk_qut_got_auth: Option<u32>, pub hk_auth_diff_rsn: Option<u32>, pub us_qut_own_auth: Option<u32>, pub us_qut_got_auth: Option<u32>, pub us_auth_diff_rsn: Option<u32>, pub cn_qut_own_auth: Option<u32>, pub cn_qut_got_auth: Option<u32>, pub cn_auth_diff_rsn: Option<u32>, pub shanghai_qut_auth: Option<u32>, pub shenzhen_qut_auth: Option<u32>, pub cn_qut_delay_flag: Option<u32>, pub hk_future_flag: Option<u32>, pub hk_click_flag: Option<u32>, pub us_option_flag: Option<u32>, pub us_future_flag: Option<u32>, pub us_lv2_arca_flag: Option<u32>, pub us_lv2_arca_limit: Option<u32>, pub us_lv2_nyse_flag: Option<u32>, pub us_lv2_nyse_limit: Option<u32>, pub us_lv2_nasdaq_tv_flag: Option<u32>, pub us_lv2_nasdaq_tv_limit: Option<u32>, pub us_otc_deal_data_auth: Option<u32>, pub us_otc_order_book_auth: Option<u32>, pub us_auth_ex: Option<u32>, pub us_auth_rule: Option<u32>, pub hk_future_auth: Option<u32>, pub hk_future_orderbook_depth: Option<u32>, pub hk_option_auth: Option<u32>, pub hk_option_orderbook_depth: Option<u32>, pub us_index_dow_jones_flag: Option<u32>, pub us_index_nasdaq_flag: Option<u32>, pub us_index_standard_poor_flag: Option<u32>, pub us_option_opera_full_flag: Option<u32>, pub open_api_auth: Option<OpenApiQAuth>, pub us_basic_bbo_flag: Option<u32>, pub high_qta_auth: Option<HighQtaAuth>, pub hk_index_hsi_flag: Option<u32>, pub disabled1: Option<u32>, pub disabled2: Option<u32>, pub fund_flag: Option<u32>, pub sgx_future_auth: Option<u32>, pub sgx_stock_auth: Option<u32>, pub global_index_auth: Option<u32>, pub jp_future_auth: Option<u32>, pub hk_ipo_flag: Option<u32>, pub us_ipo_flag: Option<u32>, pub us_future_cme_cboe_auth: Option<u32>, pub us_ipo_flag_new: Option<u32>, pub sgx_ipo_flag: Option<u32>, pub digital_currency_auth: Option<u32>, pub us_lv2_edg_flag: Option<u32>, pub us_lv2_edg_limit: Option<u32>, pub us_lv2_bzx_flag: Option<u32>, pub us_lv2_bzx_limit: Option<u32>, pub fund_qta_auth: Option<FundQtaAuth>, pub us_future_auth: Option<UsFutureQtaAuth>, pub can_stock_tsx_auth: Option<u32>, pub can_stock_cse_auth: Option<u32>, pub aus_stock_asx_auth: Option<u32>, pub index_auth: Option<IndexAuth>, pub digital_etf_auth: Option<u32>, pub digital_future_auth: Option<u32>, pub bj_auth: Option<u32>, pub us_overnight_auth: Option<u32>, pub digital_pt_orderbook_auth: Option<u32>,
}
Expand description

行情权限响应, CMD=6024

Fields§

§hk_qut_own_auth: Option<u32>

客户拥有的港股权限, 参考CltQut

§hk_qut_got_auth: Option<u32>

客户本次分配的港股权限, 参考CltQut

§hk_auth_diff_rsn: Option<u32>

本次分配与客户实际拥有的港股权限不同的原因, 参考AUTH_STATE_DIFF_REASON

§us_qut_own_auth: Option<u32>

客户拥有的美股权限, 参考CltQut

§us_qut_got_auth: Option<u32>

客户本次分配的美股权限, 参考CltQut

§us_auth_diff_rsn: Option<u32>

本次分配与客户实际拥有的美股权限不同的原因, 参考AUTH_STATE_DIFF_REASON

§cn_qut_own_auth: Option<u32>

客户拥有的A股权限, 参考CltQut

§cn_qut_got_auth: Option<u32>

客户本次分配的A股权限, 参考CltQut

§cn_auth_diff_rsn: Option<u32>

本次分配与客户实际拥有的A股权限不同的原因, 参考AUTH_STATE_DIFF_REASON

§shanghai_qut_auth: Option<u32>

上证权限。A股权限细分出现

§shenzhen_qut_auth: Option<u32>

深证权限。A股权限细分出来

§cn_qut_delay_flag: Option<u32>

A股权限(包括细分出来的权限)延时标记 1-延时 0-实时

§hk_future_flag: Option<u32>

恒指期货10档报价权限。1-有10档权限,0-无10档权限

§hk_click_flag: Option<u32>

港股点击报价权限。1-有权限,0-无权限

§us_option_flag: Option<u32>

美股期权权限。1-有权限,0-无权限 // 【20210301修改】 值集[CLT_QUT_US_OPTION_DELAY,CLT_QUT_US_OPTION_RT]

§us_future_flag: Option<u32>

美股期货权限。1-有权限,0或未设置-无权限 后续 取 us_future_cme_cboe_auth 字段

§us_lv2_arca_flag: Option<u32>

ARCA LV2权限。1-有权限,其它无权限

§us_lv2_arca_limit: Option<u32>

ARCA LV2订阅股票数量上限。只在us_lv2_arca_flag=1时本字段有效

§us_lv2_nyse_flag: Option<u32>

NYSE LV2权限。1-有权限,其它无权限

§us_lv2_nyse_limit: Option<u32>

NYSE LV2订阅股票数量上限。只在us_lv2_nyse_flag=1时本字段有效

§us_lv2_nasdaq_tv_flag: Option<u32>

NASDAQ TOTAL VIEW LV2权限。1-有权限,其它无权限

§us_lv2_nasdaq_tv_limit: Option<u32>

NASDAQ TOTAL VIEW

§us_otc_deal_data_auth: Option<u32>

美股OTC股票成交数据(价格、逐笔、成交统计等)的权限,取值参考CommAuthVal。如果没有设置这个字段,当e_COMM_AUTH_RT(实时)处理

§us_otc_order_book_auth: Option<u32>

美股OTC股票摆盘数据的权限,取值参考CommAuthVal。如果没有设置这个字段,当e_COMM_AUTH_RT(实时)处理

§us_auth_ex: Option<u32>

美股行情权限,参考US_AUTH_EX

§us_auth_rule: Option<u32>

美股权限分配所依赖的策略,参考US_AUTH_RULE

§hk_future_auth: Option<u32>

港股期货权限,参考CltQut,可能取值集合为[CLT_QUT_HK_LV2, CLT_QUT_HK_BMP, CLT_QUT_HK_LV1]

§hk_future_orderbook_depth: Option<u32>

用户可以查看港股期货的摆盘深度,取值可能为0、1、10。取代hk_future_flag

§hk_option_auth: Option<u32>

港股期权权限,参考CltQut,可能取值集合为[CLT_QUT_HK_LV2, CLT_QUT_HK_BMP, CLT_QUT_HK_LV1]

§hk_option_orderbook_depth: Option<u32>

港股期权摆盘深度,取值可能为0、1、10。

§us_index_dow_jones_flag: Option<u32>

美股道琼斯系列指数权限,0-无权限,1-有权限

§us_index_nasdaq_flag: Option<u32>

美股纳斯达克系列指数权限,0-无权限,1-有权限

§us_index_standard_poor_flag: Option<u32>

美股标准普尔系列指数权限,0-无权限,1-有权限

§us_option_opera_full_flag: Option<u32>

美股期权opera全盘行情权限,0-无权限,1-有权限

§open_api_auth: Option<OpenApiQAuth>

open api 特有的权限字段

§us_basic_bbo_flag: Option<u32>

纳斯达克basic的BBO权限。1-有权限,0-无权限

§high_qta_auth: Option<HighQtaAuth>

高级权限相关字段(比如:期权行权概率权限等)

§hk_index_hsi_flag: Option<u32>

恒生指数权限, 0-无权限, 1-有权限

§disabled1: Option<u32>

美国期货CME的权限. 作废

§disabled2: Option<u32>

美国期货的CBOE的权限. 作废

§fund_flag: Option<u32>

基金权限,参考FUND_AUTH_FLAG 作废 后续版本取 fund_qta_auth字段

§sgx_future_auth: Option<u32>

新加坡期货权限, 参考CltQut,可能取值集合为[CLT_QUT_SGX_LV2,CLT_QUT_SGX_LV1,CLT_QUT_SGX_DELAY]

§sgx_stock_auth: Option<u32>

新加坡股票权限, 参考CltQut,可能取值集合为[CLT_QUT_SGX_LV2,CLT_QUT_SGX_LV1,CLT_QUT_SGX_DELAY]

§global_index_auth: Option<u32>

环球指数权限, 参考CltQut,可能取值集合为[CLT_QUT_GLOBAL_INDEX_RT, CLT_QUT_GLOBAL_INDEX_DELAY]

§jp_future_auth: Option<u32>

日本期货权限,参考CltQut,可能取值集合为[CLT_QUT_JP_LV2, CLT_QUT_JP_LV1, CLT_QUT_JP_DELAY]

§hk_ipo_flag: Option<u32>

港股打新业务权限,0-无权限,其它-有权限

§us_ipo_flag: Option<u32>

美股打新业务权限,0-无权限,其它-有权限 作废 由us_ipo_flag_new代替

§us_future_cme_cboe_auth: Option<u32>

美国CME+CBOE期货权限。替代us_future_flag。值集[CLT_QUT_US_FUTURE_RT, CLT_QUT_US_FUTURE_DELAY, CLT_QUT_US_FUTURE_NONE]

§us_ipo_flag_new: Option<u32>

美股打新业务权限,0-无权限,1-有权限无风险 2-有权限有风险

§sgx_ipo_flag: Option<u32>

新加坡打新业务权限,0-无权限,其它-有权限

§digital_currency_auth: Option<u32>

数字货币权限 1-有权限,其它无权限

§us_lv2_edg_flag: Option<u32>

EDG LV2权限。1-有权限,其它无权限

§us_lv2_edg_limit: Option<u32>

EDG LV2订阅股票数量上限。只在us_lv2_edg_flag=1时本字段有效

§us_lv2_bzx_flag: Option<u32>

BZX LV2权限。1-有权限,其它无权限

§us_lv2_bzx_limit: Option<u32>

BZX LV2订阅股票数量上限。只在us_lv2_bzx_flag=1时本字段有效

§fund_qta_auth: Option<FundQtaAuth>

基金权限

§us_future_auth: Option<UsFutureQtaAuth>

美股期货 细分出来的交易所权限(新版本使用此字段)

§can_stock_tsx_auth: Option<u32>

加拿大股票TSX权限 //可能取值集合为[CLT_QUT_CAN_LV2,CLT_QUT_CAN_LV1,CLT_QUT_CAN_DELAY]

§can_stock_cse_auth: Option<u32>

加拿大股票CSE权限 //可能取值集合为[CLT_QUT_CAN_LV2,CLT_QUT_CAN_LV1,CLT_QUT_CAN_DELAY]

§aus_stock_asx_auth: Option<u32>

澳大利亚股票ASX权限 //可能取值集合为[CLT_QUT_AUS_LV2,CLT_QUT_AUS_LV1,CLT_QUT_AUS_DELAY,CLT_QUT_AUS_BMP]

§index_auth: Option<IndexAuth>

指数权限 后续增加其他指数可在此字段内增加

§digital_etf_auth: Option<u32>

数字货币ETF权限 1-有权限,其它无权限

§digital_future_auth: Option<u32>

数字货币期货权限 1-有权限,其它无权限

§bj_auth: Option<u32>

北交所权限, 参考CltQut, 可能取值集合为[CLT_QUT_BJ_NONE,CLT_QUT_BJ_LV1,CLT_QUT_BJ_DELAY]

§us_overnight_auth: Option<u32>

美股夜盘权限,参考CltQut, 取值可能为[CLT_QUT_US_OVERNIGTH_NONE, CLT_QUT_US_OVERNIGTH_LV1]

§digital_pt_orderbook_auth: Option<u32>

数字货币PT order book权限,1-有权限,其它无权限

Implementations§

Source§

impl QtaAuth6024Rsp

Source

pub fn hk_qut_own_auth(&self) -> u32

Returns the value of hk_qut_own_auth, or the default value if hk_qut_own_auth is unset.

Source

pub fn hk_qut_got_auth(&self) -> u32

Returns the value of hk_qut_got_auth, or the default value if hk_qut_got_auth is unset.

Source

pub fn hk_auth_diff_rsn(&self) -> u32

Returns the value of hk_auth_diff_rsn, or the default value if hk_auth_diff_rsn is unset.

Source

pub fn us_qut_own_auth(&self) -> u32

Returns the value of us_qut_own_auth, or the default value if us_qut_own_auth is unset.

Source

pub fn us_qut_got_auth(&self) -> u32

Returns the value of us_qut_got_auth, or the default value if us_qut_got_auth is unset.

Source

pub fn us_auth_diff_rsn(&self) -> u32

Returns the value of us_auth_diff_rsn, or the default value if us_auth_diff_rsn is unset.

Source

pub fn cn_qut_own_auth(&self) -> u32

Returns the value of cn_qut_own_auth, or the default value if cn_qut_own_auth is unset.

Source

pub fn cn_qut_got_auth(&self) -> u32

Returns the value of cn_qut_got_auth, or the default value if cn_qut_got_auth is unset.

Source

pub fn cn_auth_diff_rsn(&self) -> u32

Returns the value of cn_auth_diff_rsn, or the default value if cn_auth_diff_rsn is unset.

Source

pub fn hk_future_flag(&self) -> u32

Returns the value of hk_future_flag, or the default value if hk_future_flag is unset.

Source

pub fn hk_click_flag(&self) -> u32

Returns the value of hk_click_flag, or the default value if hk_click_flag is unset.

Source

pub fn us_option_flag(&self) -> u32

Returns the value of us_option_flag, or the default value if us_option_flag is unset.

Source

pub fn us_future_flag(&self) -> u32

Returns the value of us_future_flag, or the default value if us_future_flag is unset.

Source

pub fn us_lv2_arca_flag(&self) -> u32

Returns the value of us_lv2_arca_flag, or the default value if us_lv2_arca_flag is unset.

Source

pub fn us_lv2_arca_limit(&self) -> u32

Returns the value of us_lv2_arca_limit, or the default value if us_lv2_arca_limit is unset.

Source

pub fn us_lv2_nyse_flag(&self) -> u32

Returns the value of us_lv2_nyse_flag, or the default value if us_lv2_nyse_flag is unset.

Source

pub fn us_lv2_nyse_limit(&self) -> u32

Returns the value of us_lv2_nyse_limit, or the default value if us_lv2_nyse_limit is unset.

Source

pub fn us_lv2_nasdaq_tv_flag(&self) -> u32

Returns the value of us_lv2_nasdaq_tv_flag, or the default value if us_lv2_nasdaq_tv_flag is unset.

Source

pub fn us_lv2_nasdaq_tv_limit(&self) -> u32

Returns the value of us_lv2_nasdaq_tv_limit, or the default value if us_lv2_nasdaq_tv_limit is unset.

Source

pub fn us_otc_deal_data_auth(&self) -> u32

Returns the value of us_otc_deal_data_auth, or the default value if us_otc_deal_data_auth is unset.

Source

pub fn us_otc_order_book_auth(&self) -> u32

Returns the value of us_otc_order_book_auth, or the default value if us_otc_order_book_auth is unset.

Source

pub fn us_auth_ex(&self) -> u32

Returns the value of us_auth_ex, or the default value if us_auth_ex is unset.

Source

pub fn us_auth_rule(&self) -> u32

Returns the value of us_auth_rule, or the default value if us_auth_rule is unset.

Source

pub fn hk_future_auth(&self) -> u32

Returns the value of hk_future_auth, or the default value if hk_future_auth is unset.

Source

pub fn hk_future_orderbook_depth(&self) -> u32

Returns the value of hk_future_orderbook_depth, or the default value if hk_future_orderbook_depth is unset.

Source

pub fn hk_option_auth(&self) -> u32

Returns the value of hk_option_auth, or the default value if hk_option_auth is unset.

Source

pub fn hk_option_orderbook_depth(&self) -> u32

Returns the value of hk_option_orderbook_depth, or the default value if hk_option_orderbook_depth is unset.

Source

pub fn us_index_dow_jones_flag(&self) -> u32

Returns the value of us_index_dow_jones_flag, or the default value if us_index_dow_jones_flag is unset.

Source

pub fn us_index_nasdaq_flag(&self) -> u32

Returns the value of us_index_nasdaq_flag, or the default value if us_index_nasdaq_flag is unset.

Source

pub fn us_index_standard_poor_flag(&self) -> u32

Returns the value of us_index_standard_poor_flag, or the default value if us_index_standard_poor_flag is unset.

Source

pub fn us_option_opera_full_flag(&self) -> u32

Returns the value of us_option_opera_full_flag, or the default value if us_option_opera_full_flag is unset.

Source

pub fn shanghai_qut_auth(&self) -> u32

Returns the value of shanghai_qut_auth, or the default value if shanghai_qut_auth is unset.

Source

pub fn shenzhen_qut_auth(&self) -> u32

Returns the value of shenzhen_qut_auth, or the default value if shenzhen_qut_auth is unset.

Source

pub fn us_basic_bbo_flag(&self) -> u32

Returns the value of us_basic_bbo_flag, or the default value if us_basic_bbo_flag is unset.

Source

pub fn hk_index_hsi_flag(&self) -> u32

Returns the value of hk_index_hsi_flag, or the default value if hk_index_hsi_flag is unset.

Source

pub fn disabled1(&self) -> u32

Returns the value of disabled1, or the default value if disabled1 is unset.

Source

pub fn disabled2(&self) -> u32

Returns the value of disabled2, or the default value if disabled2 is unset.

Source

pub fn fund_flag(&self) -> u32

Returns the value of fund_flag, or the default value if fund_flag is unset.

Source

pub fn sgx_future_auth(&self) -> u32

Returns the value of sgx_future_auth, or the default value if sgx_future_auth is unset.

Source

pub fn sgx_stock_auth(&self) -> u32

Returns the value of sgx_stock_auth, or the default value if sgx_stock_auth is unset.

Source

pub fn global_index_auth(&self) -> u32

Returns the value of global_index_auth, or the default value if global_index_auth is unset.

Source

pub fn jp_future_auth(&self) -> u32

Returns the value of jp_future_auth, or the default value if jp_future_auth is unset.

Source

pub fn hk_ipo_flag(&self) -> u32

Returns the value of hk_ipo_flag, or the default value if hk_ipo_flag is unset.

Source

pub fn us_ipo_flag(&self) -> u32

Returns the value of us_ipo_flag, or the default value if us_ipo_flag is unset.

Source

pub fn us_future_cme_cboe_auth(&self) -> u32

Returns the value of us_future_cme_cboe_auth, or the default value if us_future_cme_cboe_auth is unset.

Source

pub fn us_ipo_flag_new(&self) -> u32

Returns the value of us_ipo_flag_new, or the default value if us_ipo_flag_new is unset.

Source

pub fn digital_currency_auth(&self) -> u32

Returns the value of digital_currency_auth, or the default value if digital_currency_auth is unset.

Source

pub fn us_lv2_edg_flag(&self) -> u32

Returns the value of us_lv2_edg_flag, or the default value if us_lv2_edg_flag is unset.

Source

pub fn us_lv2_edg_limit(&self) -> u32

Returns the value of us_lv2_edg_limit, or the default value if us_lv2_edg_limit is unset.

Source

pub fn us_lv2_bzx_flag(&self) -> u32

Returns the value of us_lv2_bzx_flag, or the default value if us_lv2_bzx_flag is unset.

Source

pub fn us_lv2_bzx_limit(&self) -> u32

Returns the value of us_lv2_bzx_limit, or the default value if us_lv2_bzx_limit is unset.

Source

pub fn cn_qut_delay_flag(&self) -> u32

Returns the value of cn_qut_delay_flag, or the default value if cn_qut_delay_flag is unset.

Source

pub fn can_stock_tsx_auth(&self) -> u32

Returns the value of can_stock_tsx_auth, or the default value if can_stock_tsx_auth is unset.

Source

pub fn can_stock_cse_auth(&self) -> u32

Returns the value of can_stock_cse_auth, or the default value if can_stock_cse_auth is unset.

Source

pub fn aus_stock_asx_auth(&self) -> u32

Returns the value of aus_stock_asx_auth, or the default value if aus_stock_asx_auth is unset.

Source

pub fn sgx_ipo_flag(&self) -> u32

Returns the value of sgx_ipo_flag, or the default value if sgx_ipo_flag is unset.

Source

pub fn digital_etf_auth(&self) -> u32

Returns the value of digital_etf_auth, or the default value if digital_etf_auth is unset.

Source

pub fn digital_future_auth(&self) -> u32

Returns the value of digital_future_auth, or the default value if digital_future_auth is unset.

Source

pub fn bj_auth(&self) -> u32

Returns the value of bj_auth, or the default value if bj_auth is unset.

Source

pub fn us_overnight_auth(&self) -> u32

Returns the value of us_overnight_auth, or the default value if us_overnight_auth is unset.

Source

pub fn digital_pt_orderbook_auth(&self) -> u32

Returns the value of digital_pt_orderbook_auth, or the default value if digital_pt_orderbook_auth is unset.

Trait Implementations§

Source§

impl Clone for QtaAuth6024Rsp

Source§

fn clone(&self) -> QtaAuth6024Rsp

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 QtaAuth6024Rsp

Source§

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

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

impl Default for QtaAuth6024Rsp

Source§

fn default() -> Self

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

impl Message for QtaAuth6024Rsp

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for QtaAuth6024Rsp

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for QtaAuth6024Rsp

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.

§

impl<T> Instrument for T

§

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

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

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.

§

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

§

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
§

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

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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
§

fn with_current_subscriber(self) -> WithDispatch<Self>

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