#[non_exhaustive]pub struct ContextFetchOutput {
pub found: bool,
pub blob_key: String,
pub content: String,
pub content_type: String,
pub summary: String,
pub total_chars: Integer,
pub total_lines: Integer,
pub offset: Integer,
pub next_offset: Integer,
pub matched_lines: Integer,
pub expires_at: Option<String>,
}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.found: bool§blob_key: String§content: String§content_type: String§summary: String§total_chars: Integer§total_lines: Integer§offset: Integer§next_offset: Integer§matched_lines: Integer§expires_at: Option<String>Trait Implementations§
Source§impl Clone for ContextFetchOutput
impl Clone for ContextFetchOutput
Source§impl Debug for ContextFetchOutput
impl Debug for ContextFetchOutput
Source§impl<'de> Deserialize<'de> for ContextFetchOutput
impl<'de> Deserialize<'de> for ContextFetchOutput
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 ContextFetchOutput
impl PartialEq for ContextFetchOutput
Source§impl Serialize for ContextFetchOutput
impl Serialize for ContextFetchOutput
impl StructuralPartialEq for ContextFetchOutput
Auto Trait Implementations§
impl Forget for ContextFetchOutput
impl Freeze for ContextFetchOutput
impl Move for ContextFetchOutput
impl RefUnwindSafe for ContextFetchOutput
impl Send for ContextFetchOutput
impl Sync for ContextFetchOutput
impl Unpin for ContextFetchOutput
impl UnsafeUnpin for ContextFetchOutput
impl UnwindSafe for ContextFetchOutput
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