pub struct RadarQuery {
pub text: String,
pub repo: Option<String>,
pub crate_name: Option<String>,
pub kind: Option<String>,
pub capability: Option<String>,
pub codec: Option<String>,
pub agent_role: Option<String>,
pub limit: usize,
}Expand description
Query for ranked Atelier hints.
Fields§
§text: StringFree-text query.
repo: Option<String>Optional repository filter.
crate_name: Option<String>Optional crate filter.
kind: Option<String>Optional indexed source kind filter.
capability: Option<String>Optional capability filter.
codec: Option<String>Optional codec filter.
agent_role: Option<String>Optional agent-role filter.
limit: usizeMaximum number of hints to return.
Implementations§
Trait Implementations§
Source§impl Clone for RadarQuery
impl Clone for RadarQuery
Source§fn clone(&self) -> RadarQuery
fn clone(&self) -> RadarQuery
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 RadarQuery
impl Debug for RadarQuery
impl Eq for RadarQuery
Source§impl PartialEq for RadarQuery
impl PartialEq for RadarQuery
Source§fn eq(&self, other: &RadarQuery) -> bool
fn eq(&self, other: &RadarQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RadarQuery
Auto Trait Implementations§
impl Freeze for RadarQuery
impl RefUnwindSafe for RadarQuery
impl Send for RadarQuery
impl Sync for RadarQuery
impl Unpin for RadarQuery
impl UnsafeUnpin for RadarQuery
impl UnwindSafe for RadarQuery
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