pub struct PlanOptions<'a> {
pub checkout_action: &'a str,
pub actions_base: &'a Url,
pub runs_on: &'a str,
pub status_context: String,
pub inline_variables: bool,
pub merges: MergePlan<'a>,
}Expand description
Instance-specific inputs to the plan.
Fields§
§checkout_action: &'a struses: for checkout: a full URL pinned to a commit.
actions_base: &'a UrlWhere a bare verify-trust reference is resolved.
runs_on: &'a strruns-on:.
status_context: StringThe status context the protection requires.
inline_variables: boolWrite the DIDs into the workflow rather than Actions variables (the instance has no variables API).
merges: MergePlan<'a>How merges pass.
Trait Implementations§
Source§impl<'a> Clone for PlanOptions<'a>
impl<'a> Clone for PlanOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for PlanOptions<'a>
impl<'a> RefUnwindSafe for PlanOptions<'a>
impl<'a> Send for PlanOptions<'a>
impl<'a> Sync for PlanOptions<'a>
impl<'a> Unpin for PlanOptions<'a>
impl<'a> UnsafeUnpin for PlanOptions<'a>
impl<'a> UnwindSafe for PlanOptions<'a>
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