pub struct CreateParams {Show 20 fields
pub title: String,
pub description: Option<String>,
pub acceptance: Option<String>,
pub notes: Option<String>,
pub design: Option<String>,
pub verify: Option<String>,
pub priority: Option<u8>,
pub labels: Vec<String>,
pub assignee: Option<String>,
pub dependencies: Vec<String>,
pub parent: Option<String>,
pub produces: Vec<String>,
pub requires: Vec<String>,
pub paths: Vec<String>,
pub on_fail: Option<OnFailAction>,
pub fail_first: bool,
pub feature: bool,
pub verify_timeout: Option<u64>,
pub decisions: Vec<String>,
pub force: bool,
}Expand description
Parameters for creating a new unit.
Fields§
§title: String§description: Option<String>§acceptance: Option<String>§notes: Option<String>§design: Option<String>§verify: Option<String>§priority: Option<u8>§labels: Vec<String>§assignee: Option<String>§dependencies: Vec<String>§parent: Option<String>§produces: Vec<String>§requires: Vec<String>§paths: Vec<String>§on_fail: Option<OnFailAction>§fail_first: bool§feature: bool§verify_timeout: Option<u64>§decisions: Vec<String>§force: boolSkip verify lint errors (allow anti-pattern verify commands)
Trait Implementations§
Source§impl Default for CreateParams
impl Default for CreateParams
Source§fn default() -> CreateParams
fn default() -> CreateParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateParams
impl RefUnwindSafe for CreateParams
impl Send for CreateParams
impl Sync for CreateParams
impl Unpin for CreateParams
impl UnsafeUnpin for CreateParams
impl UnwindSafe for CreateParams
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
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