#[non_exhaustive]pub struct InputReport {
pub identification: Identification,
pub path: PathBuf,
pub decodable_as: Vec<String>,
}Expand description
Identification plus per-format deep-decode results for one input file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.identification: IdentificationIdentification found for the file.
path: PathBufPath checked.
decodable_as: Vec<String>Formats whose registered adapters confirmed the file decodes.
Populated by Converter::probe only for formats adapters answered
about; absence means no adapter gave an opinion, which is not rejection.
Trait Implementations§
Source§impl Clone for InputReport
impl Clone for InputReport
Auto Trait Implementations§
impl Forget for InputReport
impl Freeze for InputReport
impl RefUnwindSafe for InputReport
impl Send for InputReport
impl Sync for InputReport
impl Unpin for InputReport
impl UnsafeUnpin for InputReport
impl UnwindSafe for InputReport
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