pub struct StatusChangeQuery {
pub project_id: Option<<String as Filterable>::Filter>,
pub task_id: Option<<String as Filterable>::Filter>,
pub to_status: Option<<StatusKind as Filterable>::Filter>,
pub anchor_commit: Option<<Option<String> as Filterable>::Filter>,
pub created: Option<<String as Filterable>::Filter>,
pub by_dev: Option<<String as Filterable>::Filter>,
pub by_machine: Option<<String as Filterable>::Filter>,
pub id: Option<<StatusChangeId as Filterable>::Filter>,
}Fields§
§project_id: Option<<String as Filterable>::Filter>§task_id: Option<<String as Filterable>::Filter>§to_status: Option<<StatusKind as Filterable>::Filter>§anchor_commit: Option<<Option<String> as Filterable>::Filter>§created: Option<<String as Filterable>::Filter>§by_dev: Option<<String as Filterable>::Filter>§by_machine: Option<<String as Filterable>::Filter>§id: Option<<StatusChangeId as Filterable>::Filter>Implementations§
Source§impl StatusChangeQuery
impl StatusChangeQuery
pub fn matches(&self, item: &StatusChange) -> bool
pub fn canonicalize(self) -> Self
Source§impl StatusChangeQuery
impl StatusChangeQuery
pub fn belongs_to_route(&self) -> Option<BelongsToRoute>
pub fn query_route(&self) -> Option<QueryRoute>
Trait Implementations§
Source§impl Clone for StatusChangeQuery
impl Clone for StatusChangeQuery
Source§fn clone(&self) -> StatusChangeQuery
fn clone(&self) -> StatusChangeQuery
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 StatusChangeQuery
impl Debug for StatusChangeQuery
Source§impl Default for StatusChangeQuery
impl Default for StatusChangeQuery
Source§fn default() -> StatusChangeQuery
fn default() -> StatusChangeQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatusChangeQuery
impl<'de> Deserialize<'de> for StatusChangeQuery
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
Source§impl LiveFilterQuery for StatusChangeQuery
Available on non-WebAssembly only.
impl LiveFilterQuery for StatusChangeQuery
Available on non-WebAssembly only.
type Item = StatusChange
fn entity_type() -> &'static str
fn matches(&self, item: &Self::Item) -> bool
Source§fn query_route(&self) -> Option<QueryRoute>
fn query_route(&self) -> Option<QueryRoute>
Source§impl PartialEq for StatusChangeQuery
impl PartialEq for StatusChangeQuery
Auto Trait Implementations§
impl Freeze for StatusChangeQuery
impl RefUnwindSafe for StatusChangeQuery
impl Send for StatusChangeQuery
impl Sync for StatusChangeQuery
impl Unpin for StatusChangeQuery
impl UnsafeUnpin for StatusChangeQuery
impl UnwindSafe for StatusChangeQuery
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
impl<T> CellValue for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> 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 more