Struct wick_config::v1::AppConfiguration
source · pub struct AppConfiguration {
pub name: String,
pub metadata: Option<Metadata>,
pub package: Option<PackageDefinition>,
pub resources: Vec<ResourceBinding>,
pub import: Vec<ImportBinding>,
pub triggers: Vec<TriggerDefinition>,
}Expand description
Configuration for a standalone Wick application.
Fields§
§name: StringThe application's name.
metadata: Option<Metadata>Associated metadata for this application.
package: Option<PackageDefinition>Details about the package for this application.
resources: Vec<ResourceBinding>Resources and configuration that the application and its components can access.
import: Vec<ImportBinding>Components that to import and make available to the application.
triggers: Vec<TriggerDefinition>Triggers to load and instantiate to drive the application's behavior.
Trait Implementations§
source§impl Clone for AppConfiguration
impl Clone for AppConfiguration
source§fn clone(&self) -> AppConfiguration
fn clone(&self) -> AppConfiguration
Returns a copy of the value. Read more
1.0.0 · 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 AppConfiguration
impl Debug for AppConfiguration
source§impl Default for AppConfiguration
impl Default for AppConfiguration
source§fn default() -> AppConfiguration
fn default() -> AppConfiguration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AppConfiguration
impl<'de> Deserialize<'de> for AppConfiguration
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<AppConfiguration> for AppConfiguration
impl PartialEq<AppConfiguration> for AppConfiguration
source§fn eq(&self, other: &AppConfiguration) -> bool
fn eq(&self, other: &AppConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AppConfiguration
impl Serialize for AppConfiguration
source§impl TryFrom<AppConfiguration> for AppConfiguration
impl TryFrom<AppConfiguration> for AppConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<AppConfiguration> for AppConfiguration
impl TryFrom<AppConfiguration> for AppConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for AppConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for AppConfiguration
impl Send for AppConfiguration
impl Sync for AppConfiguration
impl Unpin for AppConfiguration
impl UnwindSafe for AppConfiguration
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