pub struct WindowsService {
pub attributes: Option<Box<WindowsServiceAttributes>>,
pub host: Option<String>,
pub name: Option<String>,
}Fields§
§attributes: Option<Box<WindowsServiceAttributes>>§host: Option<String>§name: Option<String>Implementations§
Source§impl WindowsService
impl WindowsService
pub fn new() -> WindowsService
Trait Implementations§
Source§impl Clone for WindowsService
impl Clone for WindowsService
Source§fn clone(&self) -> WindowsService
fn clone(&self) -> WindowsService
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 WindowsService
impl Debug for WindowsService
Source§impl Default for WindowsService
impl Default for WindowsService
Source§fn default() -> WindowsService
fn default() -> WindowsService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WindowsService
impl<'de> Deserialize<'de> for WindowsService
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 WindowsService
impl PartialEq for WindowsService
Source§fn eq(&self, other: &WindowsService) -> bool
fn eq(&self, other: &WindowsService) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WindowsService
impl Serialize for WindowsService
impl StructuralPartialEq for WindowsService
Auto Trait Implementations§
impl Freeze for WindowsService
impl RefUnwindSafe for WindowsService
impl Send for WindowsService
impl Sync for WindowsService
impl Unpin for WindowsService
impl UnsafeUnpin for WindowsService
impl UnwindSafe for WindowsService
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