pub struct RecordingParams {
pub action: RecordingAction,
pub session_id: Option<String>,
pub checkpoint_id: Option<String>,
pub checkpoint_label: Option<String>,
pub state: Option<Value>,
pub from: Option<String>,
pub to: Option<String>,
pub since_index: Option<usize>,
pub session_json: Option<String>,
}Expand description
Parameters for the compound recording tool (start, stop, checkpoint, replay, export, import).
Fields§
§action: RecordingActionAction to perform: start, stop, checkpoint, list_checkpoints, get_events, events_between, get_replay, export, import.
session_id: Option<String>Session ID (for start — optional, UUID generated if omitted).
checkpoint_id: Option<String>Checkpoint ID (for checkpoint, required).
checkpoint_label: Option<String>Checkpoint label (for checkpoint, optional).
state: Option<Value>State snapshot as JSON (for checkpoint).
from: Option<String>Starting checkpoint ID (for events_between).
to: Option<String>Ending checkpoint ID (for events_between).
since_index: Option<usize>Only return events after this index (for get_events).
session_json: Option<String>JSON string of a previously exported RecordedSession (for import).
Trait Implementations§
Source§impl Debug for RecordingParams
impl Debug for RecordingParams
Source§impl<'de> Deserialize<'de> for RecordingParams
impl<'de> Deserialize<'de> for RecordingParams
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 JsonSchema for RecordingParams
impl JsonSchema for RecordingParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RecordingParams
impl RefUnwindSafe for RecordingParams
impl Send for RecordingParams
impl Sync for RecordingParams
impl Unpin for RecordingParams
impl UnsafeUnpin for RecordingParams
impl UnwindSafe for RecordingParams
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