Struct rincon_client::collection::methods::RenameCollection
[−]
[src]
pub struct RenameCollection { /* fields omitted */ }
Renames a collection.
Note: this method is not available in a cluster.
Methods
impl RenameCollection
[src]
pub fn new(name: String, rename_to: RenameTo) -> Self
[src]
Constructs a new instance of the RenameCollection
method with all
parameters specified.
pub fn with_name<N>(name: N) -> RenameCollectionBuilder where
N: Into<String>,
[src]
N: Into<String>,
Returns a builder to construct a new instance of the RenameCollection
method that will rename the collection identified by the given name.
Trait Implementations
impl Debug for RenameCollection
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RenameCollection
[src]
fn clone(&self) -> RenameCollection
[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 RenameCollection
[src]
fn eq(&self, __arg_0: &RenameCollection) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RenameCollection) -> bool
[src]
This method tests for !=
.
impl Method for RenameCollection
[src]
type Result = Collection
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 RenameCollection
[src]
type Content = RenameTo
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