Struct couchdb::path::DatabaseName [] [src]

pub struct DatabaseName(_);

DatabaseName is a single URL path segment that specifies the name of a database.

For example, given the document path /db/_design/doc, the database name is db.

For more information about path-related types, see the module-level documentation.

Methods

impl DatabaseName
[src]

Constructs a new database name.

Converts the database name into a string.

impl DatabaseName
[src]

Joins the database name with a document id to construct a document path.

Joins the database name with a design document id to construct a design document path.

Converts the database name into a database path.

Trait Implementations

impl Clone for DatabaseName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DatabaseName
[src]

Formats the value using the given formatter.

impl Default for DatabaseName
[src]

Returns the "default value" for a type. Read more

impl Eq for DatabaseName
[src]

impl Hash for DatabaseName
[src]

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

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

impl Ord for DatabaseName
[src]

This method returns an Ordering between self and other. Read more

impl PartialEq for DatabaseName
[src]

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

This method tests for !=.

impl PartialOrd for DatabaseName
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl AsRef<str> for DatabaseName
[src]

Performs the conversion.

impl Display for DatabaseName
[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for DatabaseName
[src]

Performs the conversion.

impl From<String> for DatabaseName
[src]

Performs the conversion.