pub struct SetRecording {
pub method: SetRecordingMethod,
pub params: SetRecordingParams,
}Expand description
Set the recording state for the service. setRecording
Fields§
§method: SetRecordingMethod§params: SetRecordingParamsImplementations§
Source§impl SetRecording
impl SetRecording
pub fn builder() -> SetRecordingBuilder
Source§impl SetRecording
impl SetRecording
pub const IDENTIFIER: &'static str = "BackgroundService.setRecording"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetRecording
impl Clone for SetRecording
Source§fn clone(&self) -> SetRecording
fn clone(&self) -> SetRecording
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 CommandResult for SetRecording
impl CommandResult for SetRecording
type Result = SetRecordingResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetRecording
impl Debug for SetRecording
Source§impl<'de> Deserialize<'de> for SetRecording
impl<'de> Deserialize<'de> for SetRecording
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 From<SetRecording> for BackgroundServiceCommands
impl From<SetRecording> for BackgroundServiceCommands
Source§fn from(v: SetRecording) -> Self
fn from(v: SetRecording) -> Self
Converts to this type from the input type.
Source§impl From<SetRecording> for BrowserProtocolCommands
impl From<SetRecording> for BrowserProtocolCommands
Source§fn from(v: SetRecording) -> Self
fn from(v: SetRecording) -> Self
Converts to this type from the input type.
Source§impl From<SetRecording> for Command
impl From<SetRecording> for Command
Source§fn from(v: SetRecording) -> Self
fn from(v: SetRecording) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetRecording
impl PartialEq for SetRecording
Source§impl Serialize for SetRecording
impl Serialize for SetRecording
Source§impl TryFrom<BackgroundServiceCommands> for SetRecording
impl TryFrom<BackgroundServiceCommands> for SetRecording
Source§type Error = BackgroundServiceCommands
type Error = BackgroundServiceCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BackgroundServiceCommands,
) -> Result<Self, <SetRecording as TryFrom<BackgroundServiceCommands>>::Error>
fn try_from( e: BackgroundServiceCommands, ) -> Result<Self, <SetRecording as TryFrom<BackgroundServiceCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for SetRecording
impl TryFrom<BrowserProtocolCommands> for SetRecording
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetRecording as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetRecording as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetRecording
impl TryFrom<Command> for SetRecording
impl StructuralPartialEq for SetRecording
Auto Trait Implementations§
impl Freeze for SetRecording
impl RefUnwindSafe for SetRecording
impl Send for SetRecording
impl Sync for SetRecording
impl Unpin for SetRecording
impl UnsafeUnpin for SetRecording
impl UnwindSafe for SetRecording
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