pub struct TransformOptions {
pub apply_scale_and_offset: bool,
pub expand_components: bool,
pub expand_subfields: bool,
pub convert_types_to_strings: bool,
pub convert_datetime: bool,
pub decode_memo_glob: bool,
pub merge_heart_rates: bool,
pub skip_header: bool,
pub data_only: bool,
}Expand description
Toggleable transforms. All default to true (matches the JS SDK’s
“decode richly” preset). Disable individually to get cheaper / less
opinionated output.
Fields§
§apply_scale_and_offset: bool§expand_components: bool§expand_subfields: bool§convert_types_to_strings: bool§convert_datetime: bool§decode_memo_glob: boolRun MemoGlob reassembly after read_all() collects messages.
merge_heart_rates: boolRun heart-rate merge (HR samples → averaged record.heart_rate) after
read_all() collects messages. Requires expand_components and
apply_scale_and_offset to be enabled to compute fractional sample
timestamps correctly. Only available with the chrono feature.
skip_header: boolSkip file_id messages from the output.
data_only: boolOnly keep messages whose global_mesg_num is in the Profile
(filters out unknown / metadata-only messages).
Trait Implementations§
Source§impl Clone for TransformOptions
impl Clone for TransformOptions
Source§fn clone(&self) -> TransformOptions
fn clone(&self) -> TransformOptions
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 TransformOptions
impl Debug for TransformOptions
Source§impl Default for TransformOptions
impl Default for TransformOptions
impl Copy for TransformOptions
Auto Trait Implementations§
impl Freeze for TransformOptions
impl RefUnwindSafe for TransformOptions
impl Send for TransformOptions
impl Sync for TransformOptions
impl Unpin for TransformOptions
impl UnsafeUnpin for TransformOptions
impl UnwindSafe for TransformOptions
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