pub struct CollectionAlias {
pub collection_name: String,
pub name: String,
}
Fields§
§collection_name: String
Name of the collection the alias mapped to
name: String
Name of the collection alias
Implementations§
Source§impl CollectionAlias
impl CollectionAlias
pub fn new(collection_name: String, name: String) -> CollectionAlias
Trait Implementations§
Source§impl Clone for CollectionAlias
impl Clone for CollectionAlias
Source§fn clone(&self) -> CollectionAlias
fn clone(&self) -> CollectionAlias
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CollectionAlias
impl Debug for CollectionAlias
Source§impl Default for CollectionAlias
impl Default for CollectionAlias
Source§fn default() -> CollectionAlias
fn default() -> CollectionAlias
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionAlias
impl<'de> Deserialize<'de> for CollectionAlias
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CollectionAlias
impl PartialEq for CollectionAlias
Source§impl Serialize for CollectionAlias
impl Serialize for CollectionAlias
impl StructuralPartialEq for CollectionAlias
Auto Trait Implementations§
impl Freeze for CollectionAlias
impl RefUnwindSafe for CollectionAlias
impl Send for CollectionAlias
impl Sync for CollectionAlias
impl Unpin for CollectionAlias
impl UnwindSafe for CollectionAlias
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more