pub struct ChunkLocator {
pub docid: String,
pub chunk_ordinal: usize,
}Fields§
§docid: String§chunk_ordinal: usizeImplementations§
Trait Implementations§
Source§impl Clone for ChunkLocator
impl Clone for ChunkLocator
Source§fn clone(&self) -> ChunkLocator
fn clone(&self) -> ChunkLocator
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 ChunkLocator
impl Debug for ChunkLocator
Source§impl<'de> Deserialize<'de> for ChunkLocator
impl<'de> Deserialize<'de> for ChunkLocator
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 ChunkLocator
impl PartialEq for ChunkLocator
Source§fn eq(&self, other: &ChunkLocator) -> bool
fn eq(&self, other: &ChunkLocator) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChunkLocator
impl Serialize for ChunkLocator
impl Eq for ChunkLocator
impl StructuralPartialEq for ChunkLocator
Auto Trait Implementations§
impl Freeze for ChunkLocator
impl RefUnwindSafe for ChunkLocator
impl Send for ChunkLocator
impl Sync for ChunkLocator
impl Unpin for ChunkLocator
impl UnsafeUnpin for ChunkLocator
impl UnwindSafe for ChunkLocator
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