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

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

Implementations

Returns the inner Map as a reference.

Returns the inner Map as a mutable 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.

Sets the version identifier.

Removes the version identifier.

The optional name of the feed.

Sets the name of the feed.

Removes the name of the feed.

The optional URL which the feed is suppose to represent.

Sets the home page URL.

Removes the home page URL.

The optional URL which this feed can be retrieived from.

Sets the feed URL.

Removes the feed URL.

An optional description of the feed.

Sets the description of the feed.

Removes the description of the feed.

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

Sets the user comment.

Removes the user comment.

An optional pagination URL.

Sets the next URL.

Removes the next URL.

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

Sets the icon.

Removes the icon.

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

Sets the favicon URL.

Removes the favicon URL.

An optional author.

Deprecation

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

An optional author.

Deprecation

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

Sets the author.

Removes the author.

An optional array of authors.

An optional array of authors.

Sets the authors.

Removes the authors.

The optional language which the feed data is written in.

Valid values are from RFC 5646.

Sets the language.

Removes the language.

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.

Sets the expired flag.

Removes the expired flag.

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

Subscription endpoints which can be used to received feed update notifications.

Sets the hubs.

Removes the hubs.

A required array of Items.

A required array of Items.

Sets the items.

Removes the items.

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

Trait Implementations

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

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.

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.