Struct couchdb::Vendor
[−]
[src]
pub struct Vendor { pub name: String, pub version: Version, // some fields omitted }
Vendor
contains information about a CouchDB server vendor.
Summary
Vendor
has public members instead of accessor methods because there are no invariants restricting the data.Vendor
implementsDeserialize
.
Remarks
Vendor
is normally part of a Root
instance.
Compatibility
Vendor
contains a dummy private member in order to prevent applications
from directly constructing a Vendor
instance. This allows new fields to be
added to Vendor
in future releases without it being a breaking change.
Fields
name: String
version: Version
Trait Implementations
impl Clone for Vendor
[src]
fn clone(&self) -> Vendor
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 Vendor
[src]
impl Default for Vendor
[src]
impl Eq for Vendor
[src]
impl Hash for Vendor
[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