pub struct EmptyRecord;
Expand description

A report with no path, relation or attributes

This is convenient both in places where a type is needed as an element for an Empty iterator (as in NotReporting) and to wrap a resource with no further properties in (in a Once iterator, relying on the tree builder to augment the empty path with the actual path).

Trait Implementations

List of path segments (equivalent to Uri-Path option values) leading to the indicated resoruce Read more
Link relation (or None to default to the implicit “hosts”) Read more
Target attributes of the link

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.