pub enum CapabilityRootLocation {
Environment {
environment_id: String,
path: String,
},
}Expand description
Location used to resolve a selected capability root.
JSON schema
{
"description": "Location used to resolve a selected capability root.",
"oneOf": [
{
"title": "EnvironmentCapabilityRootLocation",
"description": "A path owned by an execution environment.",
"type": "object",
"required": [
"environmentId",
"path",
"type"
],
"properties": {
"environmentId": {
"type": "string"
},
"path": {
"description": "Absolute path for the root in the selected environment.",
"type": "string"
},
"type": {
"title": "EnvironmentCapabilityRootLocationType",
"type": "string",
"enum": [
"environment"
]
}
}
}
]
}Variants§
Environment
EnvironmentCapabilityRootLocation
A path owned by an execution environment.
Trait Implementations§
Source§impl Clone for CapabilityRootLocation
impl Clone for CapabilityRootLocation
Source§fn clone(&self) -> CapabilityRootLocation
fn clone(&self) -> CapabilityRootLocation
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 Debug for CapabilityRootLocation
impl Debug for CapabilityRootLocation
Source§impl<'de> Deserialize<'de> for CapabilityRootLocation
impl<'de> Deserialize<'de> for CapabilityRootLocation
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 Freeze for CapabilityRootLocation
impl RefUnwindSafe for CapabilityRootLocation
impl Send for CapabilityRootLocation
impl Sync for CapabilityRootLocation
impl Unpin for CapabilityRootLocation
impl UnsafeUnpin for CapabilityRootLocation
impl UnwindSafe for CapabilityRootLocation
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