Struct spin_app::locked::LockedComponent
source · pub struct LockedComponent {
pub id: String,
pub metadata: ValuesMap,
pub source: LockedComponentSource,
pub env: LockedMap<String>,
pub files: Vec<ContentPath>,
pub config: LockedMap<String>,
}
Expand description
A LockedComponent represents a “fully resolved” Spin component.
Fields§
§id: String
Application-unique component identifier
metadata: ValuesMap
Component metadata
source: LockedComponentSource
Wasm source
env: LockedMap<String>
WASI environment variables
files: Vec<ContentPath>
WASI filesystem contents
config: LockedMap<String>
Custom config values
Trait Implementations§
source§impl Clone for LockedComponent
impl Clone for LockedComponent
source§fn clone(&self) -> LockedComponent
fn clone(&self) -> LockedComponent
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 LockedComponent
impl Debug for LockedComponent
source§impl<'de> Deserialize<'de> for LockedComponent
impl<'de> Deserialize<'de> for LockedComponent
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
Auto Trait Implementations§
impl RefUnwindSafe for LockedComponent
impl Send for LockedComponent
impl Sync for LockedComponent
impl Unpin for LockedComponent
impl UnwindSafe for LockedComponent
Blanket Implementations§
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.