#[non_exhaustive]pub struct RecordConfig {
pub max_file_size: u64,
pub record_input: bool,
pub record_binary: bool,
pub ignore: Vec<String>,
}Expand description
Record-time options (SRS §4.2 [record]).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_file_size: u64Max file size to capture, in bytes (default 4 MiB).
record_input: boolWhether to record user keystrokes (default off; NFR-4).
record_binary: boolWhether to store binary file contents (default off).
ignore: Vec<String>Extra ignore patterns extending the built-in list + .gitignore.
Trait Implementations§
Source§impl Clone for RecordConfig
impl Clone for RecordConfig
Source§fn clone(&self) -> RecordConfig
fn clone(&self) -> RecordConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecordConfig
impl Debug for RecordConfig
Source§impl Default for RecordConfig
impl Default for RecordConfig
Source§impl PartialEq for RecordConfig
impl PartialEq for RecordConfig
impl StructuralPartialEq for RecordConfig
Auto Trait Implementations§
impl Freeze for RecordConfig
impl RefUnwindSafe for RecordConfig
impl Send for RecordConfig
impl Sync for RecordConfig
impl Unpin for RecordConfig
impl UnsafeUnpin for RecordConfig
impl UnwindSafe for RecordConfig
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