Enum rincon_client::document::types::DocumentSelector [] [src]

pub enum DocumentSelector {
    Id(DocumentId),
    Key(DocumentKey),
    Header(DocumentHeader),
}

Variants

Trait Implementations

impl Debug for DocumentSelector
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DocumentSelector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DocumentSelector
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for DocumentSelector
[src]

impl Hash for DocumentSelector
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<DocumentId> for DocumentSelector
[src]

[src]

Performs the conversion.

impl From<DocumentKey> for DocumentSelector
[src]

[src]

Performs the conversion.

impl From<DocumentHeader> for DocumentSelector
[src]

[src]

Performs the conversion.

impl Serialize for DocumentSelector
[src]

[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations