#[non_exhaustive]pub struct ChunkedDocument {
pub chunks: Vec<Chunk>,
/* private fields */
}Expand description
Represents the chunks that the document is divided into.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.chunks: Vec<Chunk>List of chunks.
Implementations§
Source§impl ChunkedDocument
impl ChunkedDocument
pub fn new() -> Self
Sourcepub fn set_chunks<T, V>(self, v: T) -> Self
pub fn set_chunks<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ChunkedDocument
impl Clone for ChunkedDocument
Source§fn clone(&self) -> ChunkedDocument
fn clone(&self) -> ChunkedDocument
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 ChunkedDocument
impl Debug for ChunkedDocument
Source§impl Default for ChunkedDocument
impl Default for ChunkedDocument
Source§fn default() -> ChunkedDocument
fn default() -> ChunkedDocument
Returns the “default value” for a type. Read more
Source§impl Message for ChunkedDocument
impl Message for ChunkedDocument
Source§impl PartialEq for ChunkedDocument
impl PartialEq for ChunkedDocument
impl StructuralPartialEq for ChunkedDocument
Auto Trait Implementations§
impl Freeze for ChunkedDocument
impl RefUnwindSafe for ChunkedDocument
impl Send for ChunkedDocument
impl Sync for ChunkedDocument
impl Unpin for ChunkedDocument
impl UnwindSafe for ChunkedDocument
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