pub struct ProviderSearchOptions {
pub query: String,
pub scope_ids: ScopeIds,
pub max_results: Option<u32>,
pub exclude_ids: Option<Vec<String>>,
pub include_redacted: Option<bool>,
}Expand description
Domain types re-exported from kindling_types so the daemon client is a
self-contained SDK: depend on kindling-client alone and reach every type
the API sends or returns as kindling_client::<Type>. kindling-types
stays an internal transitive dependency you never have to name.
Search options for a retrieval provider.
Fields§
§query: String§scope_ids: ScopeIds§max_results: Option<u32>§exclude_ids: Option<Vec<String>>§include_redacted: Option<bool>Trait Implementations§
Source§impl Clone for ProviderSearchOptions
impl Clone for ProviderSearchOptions
Source§fn clone(&self) -> ProviderSearchOptions
fn clone(&self) -> ProviderSearchOptions
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 ProviderSearchOptions
impl Debug for ProviderSearchOptions
Source§impl<'de> Deserialize<'de> for ProviderSearchOptions
impl<'de> Deserialize<'de> for ProviderSearchOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProviderSearchOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProviderSearchOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProviderSearchOptions
impl PartialEq for ProviderSearchOptions
Source§fn eq(&self, other: &ProviderSearchOptions) -> bool
fn eq(&self, other: &ProviderSearchOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderSearchOptions
impl Serialize for ProviderSearchOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ProviderSearchOptions
Auto Trait Implementations§
impl Freeze for ProviderSearchOptions
impl RefUnwindSafe for ProviderSearchOptions
impl Send for ProviderSearchOptions
impl Sync for ProviderSearchOptions
impl Unpin for ProviderSearchOptions
impl UnsafeUnpin for ProviderSearchOptions
impl UnwindSafe for ProviderSearchOptions
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