pub enum ExportFormat {
Env,
Dotenv,
Powershell,
Json,
GithubActions,
Yaml,
DockerEnv,
Toml,
}Variants§
Env
KEY=VALUE (posix, one per line)
Dotenv
export KEY=“VALUE” (bash/zsh source-able)
Powershell
$env:KEY = “VALUE” (PowerShell source-able)
Json
JSON object
GithubActions
::add-mask::VALUE + KEY=VALUE (GitHub Actions GITHUB_ENV format)
Yaml
YAML mapping (KEY: “VALUE” per entry)
DockerEnv
KEY=VALUE per line suitable for Docker –env-file (alias for env, Docker-compatible)
Toml
TOML flat top-level table (KEY = “VALUE” per entry)
Trait Implementations§
Source§impl Clone for ExportFormat
impl Clone for ExportFormat
Source§fn clone(&self) -> ExportFormat
fn clone(&self) -> ExportFormat
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 ValueEnum for ExportFormat
impl ValueEnum for ExportFormat
Auto Trait Implementations§
impl Freeze for ExportFormat
impl RefUnwindSafe for ExportFormat
impl Send for ExportFormat
impl Sync for ExportFormat
impl Unpin for ExportFormat
impl UnsafeUnpin for ExportFormat
impl UnwindSafe for ExportFormat
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