pub struct FileContentQueryResponse {
pub metadata: ApiMetadata,
pub query: String,
pub source_scope: Option<String>,
pub root_id: Option<String>,
pub freshness: FileIndexFreshnessDiagnostics,
pub results: Vec<FileContentSearchHit>,
pub truncated: bool,
pub duration_ms: u64,
pub degraded_reason: Option<String>,
}Expand description
Local file-content query response with untrusted-source role isolation.
Fields§
§metadata: ApiMetadata§query: String§source_scope: Option<String>§root_id: Option<String>§freshness: FileIndexFreshnessDiagnostics§results: Vec<FileContentSearchHit>§truncated: bool§duration_ms: u64§degraded_reason: Option<String>Trait Implementations§
Source§impl Clone for FileContentQueryResponse
impl Clone for FileContentQueryResponse
Source§fn clone(&self) -> FileContentQueryResponse
fn clone(&self) -> FileContentQueryResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileContentQueryResponse
impl Debug for FileContentQueryResponse
Source§impl<'de> Deserialize<'de> for FileContentQueryResponse
impl<'de> Deserialize<'de> for FileContentQueryResponse
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 FileContentQueryResponse
impl PartialEq for FileContentQueryResponse
Source§fn eq(&self, other: &FileContentQueryResponse) -> bool
fn eq(&self, other: &FileContentQueryResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileContentQueryResponse
impl Serialize for FileContentQueryResponse
impl StructuralPartialEq for FileContentQueryResponse
Auto Trait Implementations§
impl Freeze for FileContentQueryResponse
impl RefUnwindSafe for FileContentQueryResponse
impl Send for FileContentQueryResponse
impl Sync for FileContentQueryResponse
impl Unpin for FileContentQueryResponse
impl UnsafeUnpin for FileContentQueryResponse
impl UnwindSafe for FileContentQueryResponse
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