pub struct Image {
pub master_image: Option<LrId>,
pub copy_name: Option<String>,
pub rating: Option<i64>,
pub root_file: LrId,
pub file_format: String,
pub pick: i64,
pub orientation: Option<String>,
pub capture_time: String,
pub xmp: String,
pub xmp_embedded: bool,
pub xmp_external_dirty: bool,
pub properties: Option<Properties>,
/* private fields */
}Expand description
An image in the Catalog. Requires a LibraryFile backing it
Fields§
§master_image: Option<LrId>If this a copy, id of the Image it is a copy of
copy_name: Option<String>Name of copy.
rating: Option<i64>Star rating
root_file: LrIdBacking LibraryFile id.
file_format: StringFile format
pick: i64Pick. -1, 0, 1
orientation: Option<String>Orientation string (set Lr format documentation)
Convert to EXIF orientation with self.exif_orientation().
capture_time: StringCapture date.
xmp: StringXMP block as stored in the database. If len() == 0, there is no XMP.
xmp_embedded: boolXMP is embedded: whether the XMP packet in the file
like a JPEG, or in a sidecar like in a RAW (non DNG)
file, regardless of xmp.
xmp_external_dirty: boolThe external XMP (ie not in the database) is different.
properties: Option<Properties>Misc properties from the Adobe_imageProperties table
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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