pub struct ServiceDefinitionPlan {
pub action: ServiceManagerAction,
pub platform: String,
pub service_name: 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 checksum: String,
}Expand description
Service definition rendering without privileged execution.
Fields§
§action: ServiceManagerAction§platform: String§service_name: String§definition_path: String§definition: String§install_command: Vec<String>§uninstall_command: Vec<String>§start_command: Vec<String>§stop_command: 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
Source§impl PartialEq for ServiceDefinitionPlan
impl PartialEq for ServiceDefinitionPlan
Source§fn eq(&self, other: &ServiceDefinitionPlan) -> bool
fn eq(&self, other: &ServiceDefinitionPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServiceDefinitionPlan
impl Serialize for ServiceDefinitionPlan
impl Eq 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