pub enum SearchAssetsQuery {
    SearchText(String),
    ExactSubstring(String),
    Label(Label),
    Property(Property),
    TypeRid(TypeRid),
    And(Vec<SearchAssetsQuery>),
    Or(Vec<SearchAssetsQuery>),
    IsStaged(bool),
    Workspace(WorkspaceRid),
    Unknown(Unknown),
}Variants§
SearchText(String)
ExactSubstring(String)
An case-insensitive substring match of the title or description of the asset.
Label(Label)
Property(Property)
TypeRid(TypeRid)
And(Vec<SearchAssetsQuery>)
Or(Vec<SearchAssetsQuery>)
IsStaged(bool)
👎Deprecated: staged assets are no longer returned in the search endpoint
Workspace(WorkspaceRid)
Unknown(Unknown)
An unknown variant.
Trait Implementations§
Source§impl Clone for SearchAssetsQuery
 
impl Clone for SearchAssetsQuery
Source§fn clone(&self) -> SearchAssetsQuery
 
fn clone(&self) -> SearchAssetsQuery
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 SearchAssetsQuery
 
impl Debug for SearchAssetsQuery
Source§impl<'de> Deserialize<'de> for SearchAssetsQuery
 
impl<'de> Deserialize<'de> for SearchAssetsQuery
Source§fn deserialize<D>(d: D) -> Result<SearchAssetsQuery, D::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(d: D) -> Result<SearchAssetsQuery, D::Error>where
    D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SearchAssetsQuery
 
impl Hash for SearchAssetsQuery
Source§impl Ord for SearchAssetsQuery
 
impl Ord for SearchAssetsQuery
Source§fn cmp(&self, other: &SearchAssetsQuery) -> Ordering
 
fn cmp(&self, other: &SearchAssetsQuery) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SearchAssetsQuery
 
impl PartialEq for SearchAssetsQuery
Source§impl PartialOrd for SearchAssetsQuery
 
impl PartialOrd for SearchAssetsQuery
Source§impl Serialize for SearchAssetsQuery
 
impl Serialize for SearchAssetsQuery
impl Eq for SearchAssetsQuery
impl StructuralPartialEq for SearchAssetsQuery
Auto Trait Implementations§
impl Freeze for SearchAssetsQuery
impl RefUnwindSafe for SearchAssetsQuery
impl Send for SearchAssetsQuery
impl Sync for SearchAssetsQuery
impl Unpin for SearchAssetsQuery
impl UnwindSafe for SearchAssetsQuery
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
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.Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
 
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
 
fn into_request(self) -> Request<T>
Wrap the input message 
T in a tonic::Request