pub struct FileContentSearchRequest {
pub query: String,
pub source_scope: Option<String>,
pub root_id: Option<String>,
pub authorized_roots: Vec<FileIndexRoot>,
pub limit: usize,
pub timeout_ms: u64,
}Expand description
Bounded file-content query.
Fields§
§query: String§source_scope: Option<String>§root_id: Option<String>§limit: usize§timeout_ms: u64Trait Implementations§
Source§impl Clone for FileContentSearchRequest
impl Clone for FileContentSearchRequest
Source§fn clone(&self) -> FileContentSearchRequest
fn clone(&self) -> FileContentSearchRequest
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 FileContentSearchRequest
impl Debug for FileContentSearchRequest
impl Eq for FileContentSearchRequest
Source§impl PartialEq for FileContentSearchRequest
impl PartialEq for FileContentSearchRequest
impl StructuralPartialEq for FileContentSearchRequest
Auto Trait Implementations§
impl Freeze for FileContentSearchRequest
impl RefUnwindSafe for FileContentSearchRequest
impl Send for FileContentSearchRequest
impl Sync for FileContentSearchRequest
impl Unpin for FileContentSearchRequest
impl UnsafeUnpin for FileContentSearchRequest
impl UnwindSafe for FileContentSearchRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.