pub struct RecordVideo {
pub dir: String,
pub size: Option<Viewport>,
}Expand description
Options for recording video.
See: https://playwright.dev/docs/api/class-browser#browser-new-context-option-record-video
Fields§
§dir: StringPath to the directory to put videos into.
size: Option<Viewport>Optional dimensions of the recorded videos.
Trait Implementations§
Source§impl Clone for RecordVideo
impl Clone for RecordVideo
Source§fn clone(&self) -> RecordVideo
fn clone(&self) -> RecordVideo
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 Debug for RecordVideo
impl Debug for RecordVideo
Source§impl Default for RecordVideo
impl Default for RecordVideo
Source§fn default() -> RecordVideo
fn default() -> RecordVideo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecordVideo
impl RefUnwindSafe for RecordVideo
impl Send for RecordVideo
impl Sync for RecordVideo
impl Unpin for RecordVideo
impl UnsafeUnpin for RecordVideo
impl UnwindSafe for RecordVideo
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