Struct rincon_client::index::methods::GetIndexList
[−]
[src]
pub struct GetIndexList { /* fields omitted */ }
Returns an IndexList
with an attribute indexes containing an array of all
index descriptions for the given collection.
The same information is also available in the identifiers as a hash map with the index handles as keys.
Methods
impl GetIndexList
[src]
pub fn new<C>(collection_name: C) -> Self where
C: Into<String>,
[src]
C: Into<String>,
pub fn of_collection<C>(collection_name: C) -> Self where
C: Into<String>,
[src]
C: Into<String>,
pub fn collection_name(&self) -> &str
[src]
Trait Implementations
impl Debug for GetIndexList
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for GetIndexList
[src]
fn clone(&self) -> GetIndexList
[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 GetIndexList
[src]
fn eq(&self, __arg_0: &GetIndexList) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetIndexList) -> bool
[src]
This method tests for !=
.
impl Method for GetIndexList
[src]
type Result = IndexList
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 GetIndexList
[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