pub struct DocumentId {
pub index: IndexName,
pub key: RowKey,
}Expand description
Addresses one document in a target index: which index, and the root row’s
key within it. The same source row can map to documents in several indexes,
so the index is part of the identity.
Fields§
§index: IndexName§key: RowKeyThe root table’s primary key — the natural identifier of the document.
Trait Implementations§
Source§impl Clone for DocumentId
impl Clone for DocumentId
Source§fn clone(&self) -> DocumentId
fn clone(&self) -> DocumentId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentId
impl Debug for DocumentId
impl Eq for DocumentId
Source§impl Hash for DocumentId
impl Hash for DocumentId
Source§impl PartialEq for DocumentId
impl PartialEq for DocumentId
Source§fn eq(&self, other: &DocumentId) -> bool
fn eq(&self, other: &DocumentId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentId
Auto Trait Implementations§
impl Freeze for DocumentId
impl RefUnwindSafe for DocumentId
impl Send for DocumentId
impl Sync for DocumentId
impl Unpin for DocumentId
impl UnsafeUnpin for DocumentId
impl UnwindSafe for DocumentId
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