Skip to main content

Constants

Struct Constants 

Source
pub struct Constants {
Show 35 fields pub active_field_trial_groups_id_keyed: Vec<String>, pub address_family_id_keyed: HashMap<i64, String>, pub cert_path_builder_digest_policy_id_keyed: HashMap<i64, String>, pub cert_status_flag_id_keyed: HashMap<i64, String>, pub cert_verifier_flags_id_keyed: HashMap<i64, String>, pub certificate_trust_type_id_keyed: HashMap<i64, String>, pub dns_query_type_id_keyed: HashMap<i64, String>, pub load_flag_id_keyed: HashMap<i64, String>, pub load_state_id_keyed: HashMap<i64, String>, pub log_event_phase_id_keyed: HashMap<i64, String>, pub log_event_types_id_keyed: HashMap<i64, String>, pub log_source_type_id_keyed: HashMap<i64, String>, pub net_error_id_keyed: HashMap<i64, String>, pub quic_error_id_keyed: HashMap<i64, String>, pub quic_rst_stream_error_id_keyed: HashMap<i64, String>, pub secure_dns_mode_id_keyed: HashMap<i64, String>, pub active_field_trial_groups: Vec<String>, pub address_family: HashMap<String, i64>, pub cert_path_builder_digest_policy: HashMap<String, i64>, pub cert_status_flag: HashMap<String, i64>, pub cert_verifier_flags: HashMap<String, i64>, pub certificate_trust_type: Option<HashMap<String, i64>>, pub client_info: ClientInfo, pub dns_query_type: HashMap<String, i64>, pub load_flag: HashMap<String, i64>, pub load_state: HashMap<String, i64>, pub log_event_phase: HashMap<String, i64>, pub log_event_types: HashMap<String, i64>, pub log_format_version: u64, pub log_source_type: HashMap<String, i64>, pub net_error: HashMap<String, i64>, pub quic_error: HashMap<String, i64>, pub quic_rst_stream_error: HashMap<String, i64>, pub secure_dns_mode: HashMap<String, i64>, pub time_tick_offset: u64,
}

Fields§

§active_field_trial_groups_id_keyed: Vec<String>§address_family_id_keyed: HashMap<i64, String>§cert_path_builder_digest_policy_id_keyed: HashMap<i64, String>§cert_status_flag_id_keyed: HashMap<i64, String>§cert_verifier_flags_id_keyed: HashMap<i64, String>§certificate_trust_type_id_keyed: HashMap<i64, String>§dns_query_type_id_keyed: HashMap<i64, String>§load_flag_id_keyed: HashMap<i64, String>§load_state_id_keyed: HashMap<i64, String>§log_event_phase_id_keyed: HashMap<i64, String>§log_event_types_id_keyed: HashMap<i64, String>§log_source_type_id_keyed: HashMap<i64, String>§net_error_id_keyed: HashMap<i64, String>§quic_error_id_keyed: HashMap<i64, String>§quic_rst_stream_error_id_keyed: HashMap<i64, String>§secure_dns_mode_id_keyed: HashMap<i64, String>§active_field_trial_groups: Vec<String>§address_family: HashMap<String, i64>§cert_path_builder_digest_policy: HashMap<String, i64>§cert_status_flag: HashMap<String, i64>§cert_verifier_flags: HashMap<String, i64>§certificate_trust_type: Option<HashMap<String, i64>>§client_info: ClientInfo§dns_query_type: HashMap<String, i64>§load_flag: HashMap<String, i64>§load_state: HashMap<String, i64>§log_event_phase: HashMap<String, i64>§log_event_types: HashMap<String, i64>§log_format_version: u64§log_source_type: HashMap<String, i64>§net_error: HashMap<String, i64>§quic_error: HashMap<String, i64>§quic_rst_stream_error: HashMap<String, i64>§secure_dns_mode: HashMap<String, i64>§time_tick_offset: u64

Implementations§

Trait Implementations§

Source§

impl Debug for Constants

Source§

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

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

impl<'de> Deserialize<'de> for Constants

Source§

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

Deserialize this value from the given Serde deserializer. Read more

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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.