pub struct CollectionIndexRef { /* private fields */ }Expand description
The immutable catalog ownership identity of one index incarnation.
Implementations§
Source§impl CollectionIndexRef
impl CollectionIndexRef
pub const fn new(collection_id: CollectionId, index_id: IndexId) -> Self
pub const fn collection_id(self) -> CollectionId
pub const fn index_id(self) -> IndexId
Trait Implementations§
Source§impl Clone for CollectionIndexRef
impl Clone for CollectionIndexRef
impl Copy for CollectionIndexRef
Source§impl Debug for CollectionIndexRef
impl Debug for CollectionIndexRef
Source§impl<'de> Deserialize<'de> for CollectionIndexRef
impl<'de> Deserialize<'de> for CollectionIndexRef
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 Display for CollectionIndexRef
impl Display for CollectionIndexRef
impl Eq for CollectionIndexRef
Source§impl Hash for CollectionIndexRef
impl Hash for CollectionIndexRef
Source§impl Ord for CollectionIndexRef
impl Ord for CollectionIndexRef
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 CollectionIndexRef
impl PartialEq for CollectionIndexRef
Source§impl PartialOrd for CollectionIndexRef
impl PartialOrd for CollectionIndexRef
Source§impl Serialize for CollectionIndexRef
impl Serialize for CollectionIndexRef
impl StructuralPartialEq for CollectionIndexRef
Auto Trait Implementations§
impl Freeze for CollectionIndexRef
impl RefUnwindSafe for CollectionIndexRef
impl Send for CollectionIndexRef
impl Sync for CollectionIndexRef
impl Unpin for CollectionIndexRef
impl UnsafeUnpin for CollectionIndexRef
impl UnwindSafe for CollectionIndexRef
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