pub struct FileQueryResponse {
pub metadata: ApiMetadata,
pub query: String,
pub source_scope: Option<String>,
pub root_id: Option<String>,
pub results: Vec<FileSearchHit>,
pub truncated: bool,
pub duration_ms: u64,
pub degraded_reason: Option<String>,
}Expand description
Local file-location query response.
Fields§
§metadata: ApiMetadata§query: String§source_scope: Option<String>§root_id: Option<String>§results: Vec<FileSearchHit>§truncated: bool§duration_ms: u64§degraded_reason: Option<String>Trait Implementations§
Source§impl Clone for FileQueryResponse
impl Clone for FileQueryResponse
Source§fn clone(&self) -> FileQueryResponse
fn clone(&self) -> FileQueryResponse
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 FileQueryResponse
impl Debug for FileQueryResponse
Source§impl<'de> Deserialize<'de> for FileQueryResponse
impl<'de> Deserialize<'de> for FileQueryResponse
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 FileQueryResponse
impl PartialEq for FileQueryResponse
Source§fn eq(&self, other: &FileQueryResponse) -> bool
fn eq(&self, other: &FileQueryResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileQueryResponse
impl Serialize for FileQueryResponse
impl StructuralPartialEq for FileQueryResponse
Auto Trait Implementations§
impl Freeze for FileQueryResponse
impl RefUnwindSafe for FileQueryResponse
impl Send for FileQueryResponse
impl Sync for FileQueryResponse
impl Unpin for FileQueryResponse
impl UnsafeUnpin for FileQueryResponse
impl UnwindSafe for FileQueryResponse
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