pub struct BedValidation {
pub records: u64,
pub errors: Vec<String>,
pub is_valid: bool,
}Expand description
Validation result for a BED file.
Fields§
§records: u64Number of data records (non-header, non-blank lines).
errors: Vec<String>Human-readable error messages, one per problem found.
is_valid: boolTrue when errors is empty.
Auto Trait Implementations§
impl Freeze for BedValidation
impl RefUnwindSafe for BedValidation
impl Send for BedValidation
impl Sync for BedValidation
impl Unpin for BedValidation
impl UnsafeUnpin for BedValidation
impl UnwindSafe for BedValidation
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