Struct cw_orch_core::env::CoreEnvVars
source · pub struct CoreEnvVars;
Implementations§
source§impl CoreEnvVars
impl CoreEnvVars
sourcepub fn artifacts_dir() -> Option<PathBuf>
pub fn artifacts_dir() -> Option<PathBuf>
Optional - Path Where cw-orch will look for wasm files. This is used by `ArtifactsDir::env()``
sourcepub fn serialize_json() -> bool
pub fn serialize_json() -> bool
Optional - Boolean Defaults to false If equals to true, will serialize the blockchain messages as json (for easy copying) instead of Rust Debug formatting
sourcepub fn manual_interaction() -> bool
pub fn manual_interaction() -> bool
Optional - boolean Defaults to “true” Disable manual interactions It allows to automate scripting and get rid of prompting
Auto Trait Implementations§
impl Freeze for CoreEnvVars
impl RefUnwindSafe for CoreEnvVars
impl Send for CoreEnvVars
impl Sync for CoreEnvVars
impl Unpin for CoreEnvVars
impl UnwindSafe for CoreEnvVars
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