pub struct IndexQuery {
pub path: Option<String>,
pub searchterm: Option<String>,
pub recursive: bool,
}Expand description
A request to read the remote peer’s shared file index
Fields§
§path: Option<String>Base directory to query - defaults to all shared directories
searchterm: Option<String>Filter term to search with
recursive: boolWhether to expand directories
Trait Implementations§
Source§impl Clone for IndexQuery
impl Clone for IndexQuery
Source§fn clone(&self) -> IndexQuery
fn clone(&self) -> IndexQuery
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 IndexQuery
impl Debug for IndexQuery
Source§impl Default for IndexQuery
impl Default for IndexQuery
Source§fn default() -> IndexQuery
fn default() -> IndexQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IndexQuery
impl<'de> Deserialize<'de> for IndexQuery
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
impl Eq for IndexQuery
Source§impl Hash for IndexQuery
impl Hash for IndexQuery
Source§impl PartialEq for IndexQuery
impl PartialEq for IndexQuery
Source§impl Serialize for IndexQuery
impl Serialize for IndexQuery
impl StructuralPartialEq for IndexQuery
Auto Trait Implementations§
impl Freeze for IndexQuery
impl RefUnwindSafe for IndexQuery
impl Send for IndexQuery
impl Sync for IndexQuery
impl Unpin for IndexQuery
impl UnsafeUnpin for IndexQuery
impl UnwindSafe for IndexQuery
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