pub struct IndexAddress { /* private fields */ }Expand description
A human address that must be resolved once through the catalog.
Implementations§
Source§impl IndexAddress
impl IndexAddress
pub const fn new(collection_id: CollectionId, index_name: IndexName) -> Self
pub const fn collection_id(&self) -> CollectionId
pub fn index_name(&self) -> &IndexName
Trait Implementations§
Source§impl Clone for IndexAddress
impl Clone for IndexAddress
Source§impl Debug for IndexAddress
impl Debug for IndexAddress
Source§impl<'de> Deserialize<'de> for IndexAddress
impl<'de> Deserialize<'de> for IndexAddress
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
impl Eq for IndexAddress
Source§impl Hash for IndexAddress
impl Hash for IndexAddress
Source§impl Ord for IndexAddress
impl Ord for IndexAddress
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IndexAddress
impl PartialEq for IndexAddress
Source§impl PartialOrd for IndexAddress
impl PartialOrd for IndexAddress
Source§impl Serialize for IndexAddress
impl Serialize for IndexAddress
impl StructuralPartialEq for IndexAddress
Auto Trait Implementations§
impl Freeze for IndexAddress
impl RefUnwindSafe for IndexAddress
impl Send for IndexAddress
impl Sync for IndexAddress
impl Unpin for IndexAddress
impl UnsafeUnpin for IndexAddress
impl UnwindSafe for IndexAddress
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