pub struct PackageConfig {Show 15 fields
pub description: Option<String>,
pub depends: Vec<String>,
pub suggests: Vec<String>,
pub target: Option<String>,
pub strategy: Option<DeployStrategy>,
pub permissions: HashMap<String, String>,
pub system: bool,
pub owner: Option<String>,
pub group: Option<String>,
pub ownership: HashMap<String, String>,
pub preserve: HashMap<String, Vec<String>>,
pub pre_deploy: Option<String>,
pub post_deploy: Option<String>,
pub pre_undeploy: Option<String>,
pub post_undeploy: Option<String>,
}Fields§
§description: Option<String>§depends: Vec<String>§suggests: Vec<String>§target: Option<String>§strategy: Option<DeployStrategy>§permissions: HashMap<String, String>§system: bool§owner: Option<String>§group: Option<String>§ownership: HashMap<String, String>§preserve: HashMap<String, Vec<String>>§pre_deploy: Option<String>§post_deploy: Option<String>§pre_undeploy: Option<String>§post_undeploy: Option<String>Trait Implementations§
Source§impl Debug for PackageConfig
impl Debug for PackageConfig
Source§impl Default for PackageConfig
impl Default for PackageConfig
Source§fn default() -> PackageConfig
fn default() -> PackageConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PackageConfig
impl<'de> Deserialize<'de> for PackageConfig
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 PackageConfig
impl RefUnwindSafe for PackageConfig
impl Send for PackageConfig
impl Sync for PackageConfig
impl Unpin for PackageConfig
impl UnsafeUnpin for PackageConfig
impl UnwindSafe for PackageConfig
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