pub struct HeldTask {
pub id: NativeId,
pub option: Option<String>,
pub classification: Classification,
pub repositories: Vec<Repository>,
pub delivers: Vec<TaskRef>,
}Expand description
The task one source holds for an issue, as far as moving it to done needs it.
It carries of the task exactly what the write and the rules around it need — which task, the card it sits at, the tasks it delivers, and what decides where its id may be written — rather than the whole task, because the read that answers it is priced per issue and a whole task is not what a landing’s closure needs.
Fields§
§id: NativeIdThe task, by this source’s own id for it.
option: Option<String>The name of the option the task’s card sits at, as the source spells it, when it sits at one.
classification: ClassificationThe task’s own classification.
repositories: Vec<Repository>The repositories the task names.
delivers: Vec<TaskRef>The tasks it delivers, which a write of it to done keeps in step.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HeldTask
impl<'de> Deserialize<'de> for HeldTask
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 HeldTask
impl JsonSchema for HeldTask
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 moreimpl StructuralPartialEq for HeldTask
Auto Trait Implementations§
impl Freeze for HeldTask
impl RefUnwindSafe for HeldTask
impl Send for HeldTask
impl Sync for HeldTask
impl Unpin for HeldTask
impl UnsafeUnpin for HeldTask
impl UnwindSafe for HeldTask
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