pub struct DueAxis {
pub date_field: String,
pub status_field: String,
pub open_values: Vec<String>,
pub lead_section: Option<String>,
}Fields§
§date_field: StringDate-typed metadata field holding the deadline.
status_field: StringEnum-typed metadata field holding the lifecycle status.
open_values: Vec<String>The status_field values under which the entity counts as
still open (due-relevant). Every entry must be declared in the
field’s enum_values.
lead_section: Option<String>Optional section key whose content renders with each entry as “what must happen first”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DueAxis
impl<'de> Deserialize<'de> for DueAxis
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 DueAxis
impl JsonSchema for DueAxis
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 DueAxis
impl RefUnwindSafe for DueAxis
impl Send for DueAxis
impl Sync for DueAxis
impl Unpin for DueAxis
impl UnsafeUnpin for DueAxis
impl UnwindSafe for DueAxis
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