pub struct Report {Show 15 fields
pub file: String,
pub path: String,
pub bytes: u64,
pub mime_type: Option<String>,
pub camera: Vec<(String, Value)>,
pub gps: Vec<(String, Value)>,
pub credit: Vec<(String, Value)>,
pub png_text: Vec<TextChunk>,
pub generator_keywords: Vec<String>,
pub c2pa: Option<Value>,
pub c2pa_status: Status,
pub c2pa_error: String,
pub ai: Option<String>,
pub ai_source: Option<String>,
pub has_any_credit: bool,
}Fields§
§file: String§path: String§bytes: u64§mime_type: Option<String>§camera: Vec<(String, Value)>Held as ordered pairs because the CLI prints them in the order the field table declares, and serialised as JSON objects because that is the shape the Python emitted and other things already parse.
gps: Vec<(String, Value)>Full ExifTool keys, EXIF:GPSLatitude and friends. The renderer trims the group prefix;
the data keeps it, because that is what the JSON contract says and what a caller can look
up in the ExifTool tag directory.
credit: Vec<(String, Value)>§png_text: Vec<TextChunk>§generator_keywords: Vec<String>§c2pa: Option<Value>§c2pa_status: Status§c2pa_error: String§ai: Option<String>“generative”, “camera”, or nothing.
ai_source: Option<String>Which signal answered: “c2pa” or “png-text-chunk”. Never absent when ai is present.
has_any_credit: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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