#[non_exhaustive]pub struct PageSpan {
pub first_page: i32,
pub last_page: i32,
/* private fields */
}Available on crate features
prediction-service or vertex-rag-service only.Expand description
Represents where the chunk starts and ends in the document.
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.first_page: i32Page where chunk starts in the document. Inclusive. 1-indexed.
last_page: i32Page where chunk ends in the document. Inclusive. 1-indexed.
Implementations§
Trait Implementations§
impl StructuralPartialEq for PageSpan
Auto Trait Implementations§
impl Freeze for PageSpan
impl RefUnwindSafe for PageSpan
impl Send for PageSpan
impl Sync for PageSpan
impl Unpin for PageSpan
impl UnwindSafe for PageSpan
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