#[non_exhaustive]pub struct MemoryForFileOutput {
pub path: String,
pub total: Integer,
pub hits: Vec<MemoryForFileHit>,
pub rendered: String,
pub tokens_estimate: Integer,
pub truncated: bool,
}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.path: String§total: Integer§hits: Vec<MemoryForFileHit>§rendered: String§tokens_estimate: Integer§truncated: boolTrait Implementations§
Source§impl Clone for MemoryForFileOutput
impl Clone for MemoryForFileOutput
Source§impl Debug for MemoryForFileOutput
impl Debug for MemoryForFileOutput
Source§impl<'de> Deserialize<'de> for MemoryForFileOutput
impl<'de> Deserialize<'de> for MemoryForFileOutput
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 MemoryForFileOutput
impl PartialEq for MemoryForFileOutput
Source§impl Serialize for MemoryForFileOutput
impl Serialize for MemoryForFileOutput
impl StructuralPartialEq for MemoryForFileOutput
Auto Trait Implementations§
impl Forget for MemoryForFileOutput
impl Freeze for MemoryForFileOutput
impl Move for MemoryForFileOutput
impl RefUnwindSafe for MemoryForFileOutput
impl Send for MemoryForFileOutput
impl Sync for MemoryForFileOutput
impl Unpin for MemoryForFileOutput
impl UnsafeUnpin for MemoryForFileOutput
impl UnwindSafe for MemoryForFileOutput
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