pub struct ServiceDefinitionPlan {Show 21 fields
pub action: ServiceManagerAction,
pub dry_run: bool,
pub platform: String,
pub service_name: String,
pub target_version: Option<String>,
pub install_dir: Option<String>,
pub binary_path: String,
pub definition_path: String,
pub definition: String,
pub install_command: Vec<String>,
pub uninstall_command: Vec<String>,
pub start_command: Vec<String>,
pub stop_command: Vec<String>,
pub lifecycle_steps: Vec<ServiceLifecycleStep>,
pub rollback_steps: Vec<ServiceLifecycleStep>,
pub permission_requirements: Vec<ServicePermissionRequirement>,
pub package_manifest_checks: Vec<ServicePackageManifestCheck>,
pub runtime_state_paths: Vec<String>,
pub checkpoint_path: String,
pub warnings: Vec<String>,
pub checksum: String,
}Expand description
Service definition rendering without privileged execution.
Fields§
§action: ServiceManagerAction§dry_run: bool§platform: String§service_name: String§target_version: Option<String>§install_dir: Option<String>§binary_path: String§definition_path: String§definition: String§install_command: Vec<String>§uninstall_command: Vec<String>§start_command: Vec<String>§stop_command: Vec<String>§lifecycle_steps: Vec<ServiceLifecycleStep>§rollback_steps: Vec<ServiceLifecycleStep>§permission_requirements: Vec<ServicePermissionRequirement>§package_manifest_checks: Vec<ServicePackageManifestCheck>§runtime_state_paths: Vec<String>§checkpoint_path: String§warnings: Vec<String>§checksum: StringTrait Implementations§
Source§impl Clone for ServiceDefinitionPlan
impl Clone for ServiceDefinitionPlan
Source§fn clone(&self) -> ServiceDefinitionPlan
fn clone(&self) -> ServiceDefinitionPlan
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 ServiceDefinitionPlan
impl Debug for ServiceDefinitionPlan
Source§impl<'de> Deserialize<'de> for ServiceDefinitionPlan
impl<'de> Deserialize<'de> for ServiceDefinitionPlan
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
impl Eq for ServiceDefinitionPlan
Source§impl PartialEq for ServiceDefinitionPlan
impl PartialEq for ServiceDefinitionPlan
Source§impl Serialize for ServiceDefinitionPlan
impl Serialize for ServiceDefinitionPlan
impl StructuralPartialEq for ServiceDefinitionPlan
Auto Trait Implementations§
impl Freeze for ServiceDefinitionPlan
impl RefUnwindSafe for ServiceDefinitionPlan
impl Send for ServiceDefinitionPlan
impl Sync for ServiceDefinitionPlan
impl Unpin for ServiceDefinitionPlan
impl UnsafeUnpin for ServiceDefinitionPlan
impl UnwindSafe for ServiceDefinitionPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.