pub struct FileInfo {
pub path: String,
pub size_bytes: u64,
pub format: FormatDescriptor,
pub format_version: Option<String>,
pub images: Vec<ImageInfo>,
pub tables: Vec<TableInfo>,
pub spectra: Vec<SpectraInfo>,
pub traces: Vec<TraceInfo>,
pub plane_count: u64,
pub notes: Vec<String>,
}Expand description
Output of info (and the file part of info --view full).
Fields§
§path: StringThe path as given by the caller.
size_bytes: u64Size in bytes (for directory formats such as Bruker .d, the files that were read).
format: FormatDescriptorThe format that read the file.
format_version: Option<String>Version of the container format as written in the file, if any.
images: Vec<ImageInfo>Images in the file (empty for tables, spectra and traces).
tables: Vec<TableInfo>Tabular datasets (flow cytometry events, …). Empty for image formats.
spectra: Vec<SpectraInfo>Mass-spectrometry runs. Empty for other formats.
traces: Vec<TraceInfo>Sampled-signal blocks (electrophysiology, chromatography, NMR). Empty for other formats.
plane_count: u64Total planes across all images.
notes: Vec<String>Notes the reader wants the caller to see (e.g. “pyramid levels skipped”).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileInfo
impl<'de> Deserialize<'de> for FileInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for FileInfo
impl JsonSchema for FileInfo
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnsafeUnpin for FileInfo
impl UnwindSafe for FileInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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