pub struct MetadataRow {
pub carrier: String,
pub surface: String,
pub path: String,
pub language: Option<String>,
pub value: String,
}Expand description
One extracted metadata value, addressed by carrier, surface, and path. The parent renders these to the tabular artifact and builds one hidden segment per row, so the output contract and the hidden marking stay in the crate rather than the worker.
Fields§
§carrier: StringThe container the value came from, such as exif,
png-itxt, jpeg-app1-xmp, webp-xmp, iptc-iim, or
heic-uuid.
surface: StringThe surface family, such as exif-imagedescription,
xmp-dc-description, or iptc-2-120-caption.
path: StringThe addressing detail, such as the exif tag number, the xmp property path, or the iptc dataset.
language: Option<String>The language tag when the surface carries one, such as an
iTXt language tag or an xmp xml:lang.
value: StringThe extracted text.
Trait Implementations§
Source§impl Clone for MetadataRow
impl Clone for MetadataRow
Source§impl Debug for MetadataRow
impl Debug for MetadataRow
Source§impl<'de> Deserialize<'de> for MetadataRow
impl<'de> Deserialize<'de> for MetadataRow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MetadataRow
impl RefUnwindSafe for MetadataRow
impl Send for MetadataRow
impl Sync for MetadataRow
impl Unpin for MetadataRow
impl UnsafeUnpin for MetadataRow
impl UnwindSafe for MetadataRow
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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