Struct wash_lib::parser::ActorConfig
source · pub struct ActorConfig {
pub claims: Vec<String>,
pub push_insecure: bool,
pub key_directory: PathBuf,
pub call_alias: Option<String>,
pub wasm_target: WasmTarget,
pub wasi_preview2_adapter_path: Option<PathBuf>,
pub wit_world: Option<String>,
pub tags: Option<HashSet<String>>,
pub build_artifact: Option<PathBuf>,
pub build_command: Option<String>,
pub destination: Option<PathBuf>,
}Fields§
§claims: Vec<String>The list of provider claims that this actor requires. eg. [“wasmcloud:httpserver”, “wasmcloud:blobstore”]
push_insecure: boolWhether to push to the registry insecurely. Defaults to false.
key_directory: PathBufThe directory to store the private signing keys in.
call_alias: Option<String>The call alias of the actor.
wasm_target: WasmTargetThe target wasm target to build for. Defaults to “wasm32-unknown-unknown” (a WASM core module).
wasi_preview2_adapter_path: Option<PathBuf>Path to a wasm adapter that can be used for preview2
wit_world: Option<String>The WIT world that is implemented by the component
Tags that should be applied during the actor signing process
build_artifact: Option<PathBuf>File path wash can use to find the built artifact. Defaults to ./build/[name].wasm
build_command: Option<String>Optional build override command to run instead of attempting to use the native language
toolchain to build. Keep in mind that wash expects for the built artifact to be located
under the build directory of the project root unless overridden by build_artifact.
destination: Option<PathBuf>File path the built and signed actor should be written to. Defaults to ./build/[name]_s.wasm
Trait Implementations§
source§impl Clone for ActorConfig
impl Clone for ActorConfig
source§fn clone(&self) -> ActorConfig
fn clone(&self) -> ActorConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ActorConfig
impl Debug for ActorConfig
source§impl Default for ActorConfig
impl Default for ActorConfig
source§fn default() -> ActorConfig
fn default() -> ActorConfig
source§impl<'de> Deserialize<'de> for ActorConfig
impl<'de> Deserialize<'de> for ActorConfig
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>,
source§impl PartialEq for ActorConfig
impl PartialEq for ActorConfig
source§fn eq(&self, other: &ActorConfig) -> bool
fn eq(&self, other: &ActorConfig) -> bool
self and other values to be equal, and is used
by ==.impl Eq for ActorConfig
impl StructuralEq for ActorConfig
impl StructuralPartialEq for ActorConfig
Auto Trait Implementations§
impl RefUnwindSafe for ActorConfig
impl Send for ActorConfig
impl Sync for ActorConfig
impl Unpin for ActorConfig
impl UnwindSafe for ActorConfig
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.