pub enum XmpValue {
String(String),
Integer(i64),
Boolean(bool),
DateTime(String),
Array(Vec<XmpValue>),
Structure(HashMap<String, XmpValue>),
}Expand description
XMP property value types
Variants§
String(String)
String value
Integer(i64)
Integer value
Boolean(bool)
Boolean value
DateTime(String)
Date/time value (ISO 8601 format)
Array(Vec<XmpValue>)
Array of values
Structure(HashMap<String, XmpValue>)
Structure (key-value pairs)
Implementations§
Trait Implementations§
impl StructuralPartialEq for XmpValue
Auto Trait Implementations§
impl Freeze for XmpValue
impl RefUnwindSafe for XmpValue
impl Send for XmpValue
impl Sync for XmpValue
impl Unpin for XmpValue
impl UnsafeUnpin for XmpValue
impl UnwindSafe for XmpValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more