pub struct FitFileConfig {
pub debug: bool,
pub include_unknown_fields: bool,
pub include_unknown_message_types: bool,
pub include_invalid_values: bool,
pub header_only: bool,
}
Expand description
Configuration for FIT file parsing
Fields§
§debug: bool
debug output
include_unknown_fields: bool
include fields that are unknown to the parser
include_unknown_message_types: bool
include methods that are unknown to the parser
include_invalid_values: bool
include values that are parsed invalid
header_only: bool
just parse the header and return the result
Auto Trait Implementations§
impl Freeze for FitFileConfig
impl RefUnwindSafe for FitFileConfig
impl Send for FitFileConfig
impl Sync for FitFileConfig
impl Unpin for FitFileConfig
impl UnwindSafe for FitFileConfig
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more