pub struct RecordingStartParams {
pub page_id: String,
pub recording_id: String,
pub path: String,
pub max_width: Option<u32>,
pub max_height: Option<u32>,
pub fps: Option<u32>,
}Fields§
§page_id: String§recording_id: String§path: String§max_width: Option<u32>§max_height: Option<u32>§fps: Option<u32>Implementations§
Source§impl RecordingStartParams
impl RecordingStartParams
pub fn validate(&self) -> Result<(), ServerError>
Trait Implementations§
Source§impl Clone for RecordingStartParams
impl Clone for RecordingStartParams
Source§impl Debug for RecordingStartParams
impl Debug for RecordingStartParams
Source§impl<'de> Deserialize<'de> for RecordingStartParams
impl<'de> Deserialize<'de> for RecordingStartParams
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 RecordingStartParams
impl JsonSchema for RecordingStartParams
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 moreSource§impl PartialEq for RecordingStartParams
impl PartialEq for RecordingStartParams
Source§impl Serialize for RecordingStartParams
impl Serialize for RecordingStartParams
impl StructuralPartialEq for RecordingStartParams
Auto Trait Implementations§
impl Freeze for RecordingStartParams
impl RefUnwindSafe for RecordingStartParams
impl Send for RecordingStartParams
impl Sync for RecordingStartParams
impl Unpin for RecordingStartParams
impl UnsafeUnpin for RecordingStartParams
impl UnwindSafe for RecordingStartParams
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