Struct icu_provider_cldr::transform::DatePatternsProvider
source · [−]pub struct DatePatternsProvider(_);
Expand description
A data provider reading from CLDR JSON dates files.
Trait Implementations
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<DatePatternsV1Marker>, DataError>
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<DatePatternsV1Marker>, DataError>
Query the provider for data, returning the result. Read more
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<SerializeMarker>, DataError>
fn load_payload(
&self,
req: &DataRequest
) -> Result<DataResponse<SerializeMarker>, DataError>
Query the provider for data, returning the result. Read more
fn supported_options_for_key(
&self,
resc_key: &ResourceKey
) -> Result<Box<dyn Iterator<Item = ResourceOptions>>, DataError>
fn supported_options_for_key(
&self,
resc_key: &ResourceKey
) -> Result<Box<dyn Iterator<Item = ResourceOptions>>, DataError>
Given a ResourceKey
, returns a boxed iterator over ResourceOptions
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DatePatternsProvider
impl Send for DatePatternsProvider
impl Sync for DatePatternsProvider
impl Unpin for DatePatternsProvider
impl UnwindSafe for DatePatternsProvider
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more