Struct rincon_client::index::types::IndexId
[−]
[src]
pub struct IndexId { /* fields omitted */ }
Methods
impl IndexId
[src]
pub fn new<C, K>(collection_name: C, index_key: K) -> Self where
C: Into<String>,
K: Into<String>,
[src]
C: Into<String>,
K: Into<String>,
pub fn unwrap(self) -> (String, String)
[src]
pub fn into_string(self) -> String
[src]
pub fn to_string(&self) -> String
[src]
pub fn collection_name(&self) -> &str
[src]
pub fn index_key(&self) -> &str
[src]
Trait Implementations
impl Debug for IndexId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for IndexId
[src]
fn clone(&self) -> IndexId
[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 IndexId
[src]
fn eq(&self, __arg_0: &IndexId) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IndexId) -> bool
[src]
This method tests for !=
.
impl Eq for IndexId
[src]
impl Hash for IndexId
[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
impl FromStr for IndexId
[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(value: &str) -> Result<Self, String>
[src]
Parses a string s
to return a value of this type. Read more
impl From<IndexId> for IndexIdOption
[src]
impl Serialize for IndexId
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for IndexId
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more