pub struct CommitFactQuery {
pub project_id: Option<<String as Filterable>::Filter>,
pub parents: Option<<Vec<String> as Filterable>::Filter>,
pub patch_id: Option<<Option<String> as Filterable>::Filter>,
pub id: Option<<CommitFactId as Filterable>::Filter>,
}Fields§
§project_id: Option<<String as Filterable>::Filter>§parents: Option<<Vec<String> as Filterable>::Filter>§patch_id: Option<<Option<String> as Filterable>::Filter>§id: Option<<CommitFactId as Filterable>::Filter>Implementations§
Source§impl CommitFactQuery
impl CommitFactQuery
pub fn matches(&self, item: &CommitFact) -> bool
pub fn canonicalize(self) -> Self
Source§impl CommitFactQuery
impl CommitFactQuery
pub fn belongs_to_route(&self) -> Option<BelongsToRoute>
pub fn query_route(&self) -> Option<QueryRoute>
Trait Implementations§
Source§impl Clone for CommitFactQuery
impl Clone for CommitFactQuery
Source§fn clone(&self) -> CommitFactQuery
fn clone(&self) -> CommitFactQuery
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 CommitFactQuery
impl Debug for CommitFactQuery
Source§impl Default for CommitFactQuery
impl Default for CommitFactQuery
Source§fn default() -> CommitFactQuery
fn default() -> CommitFactQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitFactQuery
impl<'de> Deserialize<'de> for CommitFactQuery
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 CommitFactQuery
Available on non-WebAssembly only.
impl LiveFilterQuery for CommitFactQuery
Available on non-WebAssembly only.
type Item = CommitFact
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 CommitFactQuery
impl PartialEq for CommitFactQuery
Auto Trait Implementations§
impl Freeze for CommitFactQuery
impl RefUnwindSafe for CommitFactQuery
impl Send for CommitFactQuery
impl Sync for CommitFactQuery
impl Unpin for CommitFactQuery
impl UnsafeUnpin for CommitFactQuery
impl UnwindSafe for CommitFactQuery
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