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