pub struct PackageOptions {
pub output_override: Option<PathBuf>,
}Expand description
Options for packaging an already-built Gleam workflow project.
Construct via Default and assign fields, so call sites keep compiling
when options are added.
Fields§
§output_override: Option<PathBuf>Overrides the single workflow’s output path, resolved against the
project root when relative. Packaging fails with
PackagingError::OutputOverrideAmbiguous when the project declares
more than one workflow.
This is the caller’s own path and is intentionally exempt from the
root confinement applied to workflow.toml-declared paths: it may
point anywhere, including outside the project root (the CLI resolves
--out against the invoker’s working directory before passing it
here).
Trait Implementations§
Source§impl Clone for PackageOptions
impl Clone for PackageOptions
Source§fn clone(&self) -> PackageOptions
fn clone(&self) -> PackageOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackageOptions
impl Debug for PackageOptions
Source§impl Default for PackageOptions
impl Default for PackageOptions
Source§fn default() -> PackageOptions
fn default() -> PackageOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackageOptions
impl RefUnwindSafe for PackageOptions
impl Send for PackageOptions
impl Sync for PackageOptions
impl Unpin for PackageOptions
impl UnsafeUnpin for PackageOptions
impl UnwindSafe for PackageOptions
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