Enum mongodb::db::roles::Role [] [src]

pub enum Role {
    All(AllDatabaseRole),
    Single {
        role: SingleDatabaseRole,
        db: String,
    },
}

Variants

Fields of Single

Methods

impl Role
[src]

[src]

[src]

Deprecated since 0.2.4

: this method will be removed in the next major release

Trait Implementations

impl Clone for Role
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Role
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Role
[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 Role
[src]