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 build_cache: Option<BuildCache>,
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.
build_cache: Option<BuildCache>Optional Cargo build output policy.
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 Forget for Filing
impl Freeze for Filingwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Input>: Freeze,
PhantomData<PathBuf>: Freeze,
impl Move for Filing
impl RefUnwindSafe for Filing
impl Send for Filingwhere
RawVecInner: Send,
impl Sync for Filingwhere
RawVecInner: Sync,
impl Unpin for Filing
impl UnsafeUnpin for Filingwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Input>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
impl UnwindSafe for Filingwhere
RawVecInner: UnwindSafe,
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