Struct sofa::DocumentCollectionItem[][src]

pub struct DocumentCollectionItem {
    pub id: DocumentId,
    pub doc: Document,
}

Used inside a DocumentCollection, to wrap the document itself and facilitate lookups by Document ID.

Fields

Methods

impl DocumentCollectionItem
[src]

Trait Implementations

impl PartialEq for DocumentCollectionItem
[src]

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

This method tests for !=.

impl Debug for DocumentCollectionItem
[src]

Formats the value using the given formatter. Read more

impl Clone for DocumentCollectionItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations