pub struct PolicyItems {
pub packages: Option<PackagesSpec>,
pub files: Vec<ManagedFileSpec>,
pub env: Vec<EnvVar>,
pub aliases: Vec<ShellAlias>,
pub system: HashMap<String, Value>,
pub profiles: Vec<String>,
pub modules: Vec<String>,
pub secrets: Vec<SecretSpec>,
}Fields§
§packages: Option<PackagesSpec>§files: Vec<ManagedFileSpec>§env: Vec<EnvVar>§aliases: Vec<ShellAlias>§system: HashMap<String, Value>§profiles: Vec<String>§modules: Vec<String>§secrets: Vec<SecretSpec>Trait Implementations§
Source§impl Clone for PolicyItems
impl Clone for PolicyItems
Source§fn clone(&self) -> PolicyItems
fn clone(&self) -> PolicyItems
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 PolicyItems
impl Debug for PolicyItems
Source§impl Default for PolicyItems
impl Default for PolicyItems
Source§fn default() -> PolicyItems
fn default() -> PolicyItems
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyItems
impl<'de> Deserialize<'de> for PolicyItems
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 PolicyItems
impl RefUnwindSafe for PolicyItems
impl Send for PolicyItems
impl Sync for PolicyItems
impl Unpin for PolicyItems
impl UnsafeUnpin for PolicyItems
impl UnwindSafe for PolicyItems
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