Struct caniuse_serde::CanIUse [] [src]

pub struct CanIUse { /* fields omitted */ }

A database of data relating to caniuse.com Not used directly, but references should be passed to methods on AgentName, FeatureName, EraName, and, less usefully, Status and ParentCategory.

Methods

impl CanIUse
[src]

[src]

Deserialize a CanIUse database from a file path to a data-2.0.json file (typically in fulldata-json/).

[src]

Deserialize a CanIUse database from a readable stream of raw JSON bytes.

[src]

Deserialize a CanIUse database from a slice of raw JSON bytes.

[src]

A timestamp of when this particular database was last updated.

[src]

An iterator over the AgentNames known in this caniuse.com database

[src]

An iterator over the AgentNames known in this caniuse.com database

[src]

An iterator over the AgentNames known in this caniuse.com database

[src]

An iterator over the AgentNames known in this caniuse.com database

Trait Implementations

impl Debug for CanIUse
[src]

[src]

Formats the value using the given formatter.

impl Clone for CanIUse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for CanIUse
[src]

[src]

Defaults to the up-to-date version of the caniuse.com database shipped embedded in this crate.

impl FromStr for CanIUse
[src]

The associated error which can be returned from parsing.

[src]

Deserialize a CanIUse database from a UTF-8 string representing the contents of a data-2.0.json file (typically in fulldata-json/).