pub struct EntityFilter {
pub name: Option<String>,
pub value: Option<Vec<String>>,
}
Expand description
An object that filters an entity search. Multiple filters function as OR criteria in the search. For example a search that includes a NAMESPACE
and a REFERENCED_ENTITY_ID
filter searches for entities in the specified namespace that use the entity specified by the value of REFERENCED_ENTITY_ID
.
Fields§
§name: Option<String>
The name of the entity search filter field. REFERENCED_ENTITY_ID
filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
value: Option<Vec<String>>
An array of string values for the search filter field. Multiple values function as AND criteria in the search.
Trait Implementations§
Source§impl Clone for EntityFilter
impl Clone for EntityFilter
Source§fn clone(&self) -> EntityFilter
fn clone(&self) -> EntityFilter
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 EntityFilter
impl Debug for EntityFilter
Source§impl Default for EntityFilter
impl Default for EntityFilter
Source§fn default() -> EntityFilter
fn default() -> EntityFilter
Returns the “default value” for a type. Read more
Source§impl PartialEq for EntityFilter
impl PartialEq for EntityFilter
Source§impl Serialize for EntityFilter
impl Serialize for EntityFilter
impl StructuralPartialEq for EntityFilter
Auto Trait Implementations§
impl Freeze for EntityFilter
impl RefUnwindSafe for EntityFilter
impl Send for EntityFilter
impl Sync for EntityFilter
impl Unpin for EntityFilter
impl UnwindSafe for EntityFilter
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