Struct rincon_client::document::types::DocumentHeader
[−]
[src]
pub struct DocumentHeader { /* fields omitted */ }
Methods
impl DocumentHeader
[src]
pub fn new(id: DocumentId, key: DocumentKey, revision: Revision) -> Self
[src]
pub fn id(&self) -> &DocumentId
[src]
pub fn key(&self) -> &DocumentKey
[src]
pub fn revision(&self) -> &Revision
[src]
pub fn deconstruct(self) -> (DocumentId, DocumentKey, Revision)
[src]
Trait Implementations
impl From<DocumentHeader> for DocumentSelector
[src]
fn from(document_header: DocumentHeader) -> Self
[src]
Performs the conversion.
impl Debug for DocumentHeader
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DocumentHeader
[src]
fn clone(&self) -> DocumentHeader
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DocumentHeader
[src]
fn eq(&self, __arg_0: &DocumentHeader) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DocumentHeader) -> bool
[src]
This method tests for !=
.
impl Eq for DocumentHeader
[src]
impl Hash for DocumentHeader
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more