pub struct Parameters {
pub repo: String,
pub scopes: Vec<String>,
pub workflow: Workflow,
}Expand description
The landing parameters, recorded whole.
Fields§
§repo: StringThe project path on the forge, recorded whole because a GitLab project may nest below its group.
scopes: Vec<String>The Conventional Commit scopes the project accepts, rendered into
the title checks, the commit hook, and the routing block. Defaults
empty for a record from before the parameter existed; an upgrade of
such a record asks for --scopes once and records the answer.
workflow: WorkflowThe working-copy mode the project chose: every code-changing branch
in a linked worktree (worktree), or branches worked in the main
checkout with worktrees optional beside them (branches). A record
predating the field reads as branches, so an upgrade never imposes
a guard the project did not choose.
Trait Implementations§
Source§impl Debug for Parameters
impl Debug for Parameters
Source§impl<'de> Deserialize<'de> for Parameters
impl<'de> Deserialize<'de> for Parameters
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 Parameters
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnsafeUnpin for Parameters
impl UnwindSafe for Parameters
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