pub struct DiscoveryQuery {
pub callable_type: Option<CallableType>,
pub tags: Option<Vec<String>>,
pub name_pattern: Option<String>,
pub max_cost_tier: Option<CostTier>,
pub limit: usize,
}Expand description
DiscoveryQuery - Query for discovering callables @see packages/enact-schemas/src/execution.schemas.ts - discoveryQuerySchema
Fields§
§callable_type: Option<CallableType>Filter by callable type
Filter by tags (any match)
name_pattern: Option<String>Filter by name pattern (glob-like)
max_cost_tier: Option<CostTier>Filter by maximum cost tier
limit: usizeMaximum results
Trait Implementations§
Source§impl Clone for DiscoveryQuery
impl Clone for DiscoveryQuery
Source§fn clone(&self) -> DiscoveryQuery
fn clone(&self) -> DiscoveryQuery
Returns a duplicate of the value. Read more
1.0.0 · 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 DiscoveryQuery
impl Debug for DiscoveryQuery
Source§impl Default for DiscoveryQuery
impl Default for DiscoveryQuery
Source§impl<'de> Deserialize<'de> for DiscoveryQuery
impl<'de> Deserialize<'de> for DiscoveryQuery
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
Auto Trait Implementations§
impl Freeze for DiscoveryQuery
impl RefUnwindSafe for DiscoveryQuery
impl Send for DiscoveryQuery
impl Sync for DiscoveryQuery
impl Unpin for DiscoveryQuery
impl UnsafeUnpin for DiscoveryQuery
impl UnwindSafe for DiscoveryQuery
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