Struct couchdb::Root
[−]
[src]
pub struct Root { pub couchdb: String, pub uuid: Uuid, pub vendor: Vendor, pub version: Version, // some fields omitted }
Root
contains the content of a CouchDB server's root resource.
Summary
Root
has public members instead of accessor methods because there are no invariants restricting the data.Root
implementsDeserialize
.
Remarks
An application may obtain a CouchDB server's root resource by sending an
HTTP request to GET /
.
Compatibility
Root
contains a dummy private member in order to prevent applications from
directly constructing a Root
instance. This allows new fields to be added
to Root
in future releases without it being a breaking change.
Fields
couchdb: String
uuid: Uuid
vendor: Vendor
version: Version
Trait Implementations
impl Clone for Root
[src]
fn clone(&self) -> Root
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Root
[src]
impl Default for Root
[src]
impl Eq for Root
[src]
impl Hash for Root
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more