Trait Field

Source
pub trait Field {
    const NAME: &'static str;
    const NAMESPACE: Namespace;
}
Expand description

XMP field

Required Associated Constants§

Source

const NAME: &'static str

XMP field name

Source

const NAMESPACE: Namespace

Set to true if value uses exifEX namespace

If set to true, this field is from Exif 2.21 or later and uses the http://cipa.jp/exif/1.0/ namespace (exifEX). Otherwise, it uses the legacy namespace http://ns.adobe.com/exif/1.0/ (exif).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Field for Aperture

Source§

const NAME: &'static str = "Aperture"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for CameraOwnerName

Source§

const NAME: &'static str = "CameraOwnerName"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::ExifEX

Source§

impl Field for Creator

Source§

const NAME: &'static str = "creator"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Dc

Source§

impl Field for CreatorTool

Source§

const NAME: &'static str = "CreatorTool"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Xmp

Source§

impl Field for DateTimeOriginal

Source§

const NAME: &'static str = "DateTimeOriginal"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for ExposureTime

Source§

const NAME: &'static str = "ExposureTime"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for FNumber

Source§

const NAME: &'static str = "FNumber"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for FocalLength

Source§

const NAME: &'static str = "FocalLength"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for ISOSpeedRatings

Source§

const NAME: &'static str = "ISOSpeedRatings"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for ImageWidth

Source§

const NAME: &'static str = "ImageWidth"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for LensMake

Source§

const NAME: &'static str = "LensMake"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for LensModel

Source§

const NAME: &'static str = "LensModel"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for Make

Source§

const NAME: &'static str = "Make"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Tiff

Source§

impl Field for Model

Source§

const NAME: &'static str = "Model"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Tiff

Source§

impl Field for Orientation

Source§

const NAME: &'static str = "Orientation"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for PhotographicSensitivity

Source§

const NAME: &'static str = "PhotographicSensitivity"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::ExifEX

Source§

impl Field for ThumbnailImageWidth

Source§

const NAME: &'static str = "ThumbnailImageWidth"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for UserComment

Source§

const NAME: &'static str = "UserComment"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif

Source§

impl Field for XResolution

Source§

const NAME: &'static str = "XResolution"

Source§

const NAMESPACE: Namespace = crate::xmp::Namespace::Exif