pub struct ItemFilter {
pub query: Option<String>,
pub item_type: Option<ItemType>,
pub project_id: Option<Uuid>,
pub state: Option<LifecycleState>,
pub system: Option<String>,
pub classification: Option<Classification>,
pub attribute: Option<String>,
pub attribute_value: Option<String>,
pub result: Option<ResultFilter>,
pub result_name: Option<String>,
}Fields§
§query: Option<String>Free text matched against number, name and description.
item_type: Option<ItemType>§project_id: Option<Uuid>§state: Option<LifecycleState>State of the latest revision.
system: Option<String>CAD program (cadformat::SYSTEMS id): only items whose latest revision
has a file of one of its formats.
classification: Option<Classification>§attribute: Option<String>Custom attribute key: only items whose latest revision has a value
matching attribute_value (see domain::parse_attribute_condition).
attribute_value: Option<String>§result: Option<ResultFilter>Simulations whose latest revision has a result value in this state
(see domain::ResultFilter), optionally only for values whose name
contains result_name.
result_name: Option<String>Trait Implementations§
Source§impl Clone for ItemFilter
impl Clone for ItemFilter
Source§impl Debug for ItemFilter
impl Debug for ItemFilter
Auto Trait Implementations§
impl Freeze for ItemFilter
impl RefUnwindSafe for ItemFilter
impl Send for ItemFilter
impl Sync for ItemFilter
impl Unpin for ItemFilter
impl UnsafeUnpin for ItemFilter
impl UnwindSafe for ItemFilter
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.