pub struct FeedRef<'a> { /* private fields */ }
Expand description

A Feed implemented with a borrowed reference to a JSON object.

Implementations

Returns the inner Map as a reference.

Clones the inner Map reference and returns an owned type.

The required URL formatted version identifier.

Identifies what version of the spec the feed is suppose to be compliant with.

The optional name of the feed.

The optional URL which the feed is suppose to represent.

The optional URL which this feed can be retrieived from.

An optional description of the feed.

An optional meta description about the feed only intended to be viewed in the raw JSON form.

An optional pagination URL.

An optional URL to an icon for use in a list of items.

An optional URL to a favicon suitable for use in a list of feeds.

An optional author.

Deprecation

The author field is deprecated in favor of the authors field as of JSON Feed 1.1.

An optional array of authors.

The optional language which the feed data is written in.

Valid values are from RFC 5646.

Optionally determines if the feed will be updated in the future.

If true, the feed will not be updated in the future. If false or None, then the feed may be updated in the future.

Optional subscription endpoints which can be used to received feed update notifications.

A required array of Items.

Verifies if the JSON data complies with a specific Version of the JSON Feed spec.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.