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