Struct rincon_client::document::methods::GetDocumentHeader
[−]
[src]
pub struct GetDocumentHeader { /* fields omitted */ }
Methods
impl GetDocumentHeader
[src]
pub fn new<Coll>(collection_name: Coll, document_key: DocumentKey) -> Self where
Coll: Into<String>,
[src]
Coll: Into<String>,
pub fn with_key<Coll>(collection_name: Coll, document_key: DocumentKey) -> Self where
Coll: Into<String>,
[src]
Coll: Into<String>,
pub fn with_id(id: DocumentId) -> Self
[src]
pub fn with_if_match<IfMatch>(self, if_match: IfMatch) -> Self where
IfMatch: Into<String>,
[src]
IfMatch: Into<String>,
pub fn with_if_non_match<IfNonMatch>(self, if_non_match: IfNonMatch) -> Self where
IfNonMatch: Into<String>,
[src]
IfNonMatch: Into<String>,
pub fn id(&self) -> &DocumentId
[src]
pub fn if_match(&self) -> Option<&String>
[src]
pub fn if_non_match(&self) -> Option<&String>
[src]
Trait Implementations
impl Debug for GetDocumentHeader
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for GetDocumentHeader
[src]
fn clone(&self) -> GetDocumentHeader
[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 GetDocumentHeader
[src]
fn eq(&self, __arg_0: &GetDocumentHeader) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetDocumentHeader) -> bool
[src]
This method tests for !=
.
impl Method for GetDocumentHeader
[src]
type Result = ()
The type of the result of a method call.
const RETURN_TYPE: RpcReturnType
RETURN_TYPE: RpcReturnType = RpcReturnType{result_field: None, code_field: Some(FIELD_CODE),}
Specification of the fields of RPC-like return type. Read more
fn return_type(&self) -> RpcReturnType
[src]
Returns the specification of the RPC-like return type.
impl Prepare for GetDocumentHeader
[src]
type Content = ()
The type of the content of a method call. Read more
fn operation(&self) -> Operation
[src]
Returns the type of operation this method is executing.
fn path(&self) -> String
[src]
Returns the resource path of a REST operation.
fn parameters(&self) -> Parameters
[src]
Returns the query parameters of this method. Read more
fn header(&self) -> Parameters
[src]
Returns the header parameters of this method. Read more
fn content(&self) -> Option<&Self::Content>
[src]
Returns the content of this method if any. Read more