pub struct PriorityMappingConfig {
pub urgent: Option<PriorityOptionName>,
pub high: Option<PriorityOptionName>,
pub medium: Option<PriorityOptionName>,
pub low: Option<PriorityOptionName>,
}Expand description
Which option of the board’s Priority field each priority lands on.
One member per level rather than a map, so a key that is not a level is refused where
the configuration is read, naming the levels there are. none is not a member: it is no
value in the field, not an option of it.
Fields§
§urgent: Option<PriorityOptionName>The option urgent lands on; Urgent when absent.
high: Option<PriorityOptionName>The option high lands on; High when absent.
medium: Option<PriorityOptionName>The option medium lands on; Medium when absent.
low: Option<PriorityOptionName>The option low lands on; Low when absent.
Trait Implementations§
Source§impl Clone for PriorityMappingConfig
impl Clone for PriorityMappingConfig
Source§impl Debug for PriorityMappingConfig
impl Debug for PriorityMappingConfig
Source§impl Default for PriorityMappingConfig
impl Default for PriorityMappingConfig
Source§impl<'de> Deserialize<'de> for PriorityMappingConfigwhere
PriorityMappingConfig: Default,
impl<'de> Deserialize<'de> for PriorityMappingConfigwhere
PriorityMappingConfig: Default,
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 PriorityMappingConfig
impl JsonSchema for PriorityMappingConfig
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 moreAuto Trait Implementations§
impl Freeze for PriorityMappingConfig
impl RefUnwindSafe for PriorityMappingConfig
impl Send for PriorityMappingConfig
impl Sync for PriorityMappingConfig
impl Unpin for PriorityMappingConfig
impl UnsafeUnpin for PriorityMappingConfig
impl UnwindSafe for PriorityMappingConfig
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