pub struct ChunkInsert {
pub id: String,
pub node_logical_id: String,
pub text_content: String,
pub byte_start: Option<i64>,
pub byte_end: Option<i64>,
pub content_hash: Option<String>,
}Expand description
A text chunk to be inserted in a WriteRequest.
Fields§
§id: String§node_logical_id: String§text_content: String§byte_start: Option<i64>§byte_end: Option<i64>§content_hash: Option<String>Optional hash of the external content this chunk was derived from.
Trait Implementations§
Source§impl Clone for ChunkInsert
impl Clone for ChunkInsert
Source§fn clone(&self) -> ChunkInsert
fn clone(&self) -> ChunkInsert
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 ChunkInsert
impl Debug for ChunkInsert
Source§impl PartialEq for ChunkInsert
impl PartialEq for ChunkInsert
impl Eq for ChunkInsert
impl StructuralPartialEq for ChunkInsert
Auto Trait Implementations§
impl Freeze for ChunkInsert
impl RefUnwindSafe for ChunkInsert
impl Send for ChunkInsert
impl Sync for ChunkInsert
impl Unpin for ChunkInsert
impl UnsafeUnpin for ChunkInsert
impl UnwindSafe for ChunkInsert
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.