pub struct SetRecordingParams {
pub should_record: bool,
pub service: ServiceName,
}Expand description
Set the recording state for the service.
Parameters of BackgroundService.setRecording.
Fields§
§should_record: bool§service: ServiceNameTrait Implementations§
Source§impl Clone for SetRecordingParams
impl Clone for SetRecordingParams
Source§impl Command for SetRecordingParams
impl Command for SetRecordingParams
Source§impl Debug for SetRecordingParams
impl Debug for SetRecordingParams
Source§impl<'de> Deserialize<'de> for SetRecordingParams
impl<'de> Deserialize<'de> for SetRecordingParams
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 SetRecordingParams
impl PartialEq for SetRecordingParams
Source§impl Serialize for SetRecordingParams
impl Serialize for SetRecordingParams
impl StructuralPartialEq for SetRecordingParams
Auto Trait Implementations§
impl Forget for SetRecordingParams
impl Freeze for SetRecordingParams
impl RefUnwindSafe for SetRecordingParams
impl Send for SetRecordingParams
impl Sync for SetRecordingParams
impl Unpin for SetRecordingParams
impl UnsafeUnpin for SetRecordingParams
impl UnwindSafe for SetRecordingParams
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