pub struct SelectedCapabilityRoot {
pub id: String,
pub location: CapabilityRootLocation,
}Expand description
A user-selected root that can expose one or more runtime capabilities.
JSON schema
{
"description": "A user-selected root that can expose one or more runtime capabilities.",
"type": "object",
"required": [
"id",
"location"
],
"properties": {
"id": {
"description": "Stable identifier supplied by the capability selection platform.",
"type": "string"
},
"location": {
"description": "Where the selected root can be resolved.",
"allOf": [
{
"$ref": "#/definitions/CapabilityRootLocation"
}
]
}
}
}Fields§
§id: StringStable identifier supplied by the capability selection platform.
location: CapabilityRootLocationWhere the selected root can be resolved.
Trait Implementations§
Source§impl Clone for SelectedCapabilityRoot
impl Clone for SelectedCapabilityRoot
Source§fn clone(&self) -> SelectedCapabilityRoot
fn clone(&self) -> SelectedCapabilityRoot
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 SelectedCapabilityRoot
impl Debug for SelectedCapabilityRoot
Source§impl<'de> Deserialize<'de> for SelectedCapabilityRoot
impl<'de> Deserialize<'de> for SelectedCapabilityRoot
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 SelectedCapabilityRoot
impl RefUnwindSafe for SelectedCapabilityRoot
impl Send for SelectedCapabilityRoot
impl Sync for SelectedCapabilityRoot
impl Unpin for SelectedCapabilityRoot
impl UnsafeUnpin for SelectedCapabilityRoot
impl UnwindSafe for SelectedCapabilityRoot
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