pub struct Filing {
pub title: String,
pub instruction: String,
pub repo: PathBuf,
pub source: Source,
pub sources: Sources,
pub hold: Option<String>,
pub priority: i32,
pub solo: bool,
pub urgent: bool,
pub implementers: Option<usize>,
pub attach: Vec<PathBuf>,
}Expand description
Inputs prepared by magi task add before saving a fresh queue record.
Fields§
§title: StringTask title.
instruction: StringComplete task instruction.
repo: PathBufValidated absolute repository path.
source: SourceFiling provenance prepared by the CLI.
sources: SourcesResolved implementation imports.
hold: Option<String>Optional initial hold reason.
priority: i32Queue priority.
solo: boolUse one implementer.
urgent: boolPrioritize execution.
implementers: Option<usize>Optional implementer count.
attach: Vec<PathBuf>Absolute attachment paths to copy into the queue.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Filing
impl<'de> Deserialize<'de> for Filing
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
Auto Trait Implementations§
impl Freeze for Filing
impl RefUnwindSafe for Filing
impl Send for Filing
impl Sync for Filing
impl Unpin for Filing
impl UnsafeUnpin for Filing
impl UnwindSafe for Filing
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<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