pub(crate) struct Capture {
pub(crate) base: String,
pub(crate) output: String,
pub(crate) id: String,
pub(crate) label: String,
pub(crate) notes: String,
pub(crate) fallback_config: String,
pub(crate) status_name: String,
pub(crate) capture_default_config: bool,
pub(crate) sanitize: bool,
pub(crate) print_summary: bool,
pub(crate) debug: bool,
}Expand description
The options after parsing, as the C++ CaptureOptions holds them.
Fields§
§base: StringThe --base value, or empty to use the only base connected.
output: StringOutput path, or - for stdout.
id: StringFixture id, or empty to derive it from the tag type.
label: StringFixture label, or empty to use the tag type name.
notes: StringFree-text notes; omitted from the fixture when empty.
fallback_config: StringSource-tree default config path written as fallback_ref; omitted when
empty.
status_name: StringKey under statuses for the captured status.
capture_default_config: boolWhether to read and include the tag’s configuration (false only with
--no-config).
sanitize: boolWhether to replace the UUID and source path placeholders.
print_summary: boolWhether to print a summary to stderr after writing.
debug: boolWhether to log at DEBUG; otherwise logging is off.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Capture
impl RefUnwindSafe for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnsafeUnpin for Capture
impl UnwindSafe for Capture
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