pub struct PackConfigurationEntry {
pub configuration_id: String,
pub name: String,
pub policy: Map<String, Value>,
}
Expand description
Basic details about a configuration that can be used in conjunction with a pack
JSON schema
{
"description": "Basic details about a configuration that can be used in
conjunction with a pack",
"type": "object",
"required": [
"configurationId",
"name"
],
"properties": {
"configurationId": {
"type": "string"
},
"name": {
"description": "Name of the configuration",
"type": "string"
},
"policy": {
"description": "Policy associated with the configuration",
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false,
"x-schema-name": "PackConfigurationEntry"
}
Fields§
§configuration_id: String
§name: String
Name of the configuration
policy: Map<String, Value>
Policy associated with the configuration
Trait Implementations§
Source§impl Clone for PackConfigurationEntry
impl Clone for PackConfigurationEntry
Source§fn clone(&self) -> PackConfigurationEntry
fn clone(&self) -> PackConfigurationEntry
Returns a duplicate 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 PackConfigurationEntry
impl Debug for PackConfigurationEntry
Source§impl<'de> Deserialize<'de> for PackConfigurationEntry
impl<'de> Deserialize<'de> for PackConfigurationEntry
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 From<&PackConfigurationEntry> for PackConfigurationEntry
impl From<&PackConfigurationEntry> for PackConfigurationEntry
Source§fn from(value: &PackConfigurationEntry) -> Self
fn from(value: &PackConfigurationEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackConfigurationEntry
impl RefUnwindSafe for PackConfigurationEntry
impl Send for PackConfigurationEntry
impl Sync for PackConfigurationEntry
impl Unpin for PackConfigurationEntry
impl UnwindSafe for PackConfigurationEntry
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