pub struct ProjectQuery {
pub text: Option<TextQuery>,
pub labels: LabelFilter,
pub statuses: Vec<StatusCategory>,
}Expand description
A filter over a source’s projects.
Fields§
§text: Option<TextQuery>Free-text search, when the caller asked for one.
labels: LabelFilterLabel membership.
statuses: Vec<StatusCategory>Status categories to keep. Empty means unfiltered.
Trait Implementations§
Source§impl Clone for ProjectQuery
impl Clone for ProjectQuery
Source§fn clone(&self) -> ProjectQuery
fn clone(&self) -> ProjectQuery
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 ProjectQuery
impl Debug for ProjectQuery
Source§impl Default for ProjectQuery
impl Default for ProjectQuery
Source§fn default() -> ProjectQuery
fn default() -> ProjectQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectQuery
impl<'de> Deserialize<'de> for ProjectQuery
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 JsonSchema for ProjectQuery
impl JsonSchema for ProjectQuery
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ProjectQuery
impl PartialEq for ProjectQuery
Source§impl Serialize for ProjectQuery
impl Serialize for ProjectQuery
impl StructuralPartialEq for ProjectQuery
Auto Trait Implementations§
impl Freeze for ProjectQuery
impl RefUnwindSafe for ProjectQuery
impl Send for ProjectQuery
impl Sync for ProjectQuery
impl Unpin for ProjectQuery
impl UnsafeUnpin for ProjectQuery
impl UnwindSafe for ProjectQuery
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