pub struct StartObservingCommand { /* private fields */ }Available on crate features
experimental and BackgroundService only.Expand description
Enables event updates for the service.
Implementations§
Source§impl StartObservingCommand
impl StartObservingCommand
pub fn new(service: ServiceName) -> Self
pub fn service(&self) -> &ServiceName
Trait Implementations§
Source§impl Clone for StartObservingCommand
impl Clone for StartObservingCommand
Source§fn clone(&self) -> StartObservingCommand
fn clone(&self) -> StartObservingCommand
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 Command for StartObservingCommand
impl Command for StartObservingCommand
Source§impl Debug for StartObservingCommand
impl Debug for StartObservingCommand
Source§impl Deref for StartObservingCommand
impl Deref for StartObservingCommand
Source§impl<'de> Deserialize<'de> for StartObservingCommand
impl<'de> Deserialize<'de> for StartObservingCommand
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 StartObservingCommand
impl RefUnwindSafe for StartObservingCommand
impl Send for StartObservingCommand
impl Sync for StartObservingCommand
impl Unpin for StartObservingCommand
impl UnwindSafe for StartObservingCommand
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