pub struct NewValue {
pub tag: String,
pub group: Option<String>,
pub value: Option<String>,
}Expand description
The main ExifTool struct. Create one and use it to extract metadata from files.
§Example
use exiftool_rs::ExifTool;
let mut et = ExifTool::new();
let info = et.image_info("photo.jpg").unwrap();
for (name, value) in &info {
println!("{}: {}", name, value);
}A queued tag change for writing.
Fields§
§tag: StringTag name (e.g., “Artist”, “Copyright”, “XMP:Title”)
group: Option<String>Group prefix if specified (e.g., “EXIF”, “XMP”, “IPTC”)
value: Option<String>New value (None = delete tag)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewValue
impl RefUnwindSafe for NewValue
impl Send for NewValue
impl Sync for NewValue
impl Unpin for NewValue
impl UnsafeUnpin for NewValue
impl UnwindSafe for NewValue
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