pub struct WorkspaceMediaMetadata {
pub format: String,
pub width: Option<u32>,
pub height: Option<u32>,
pub color_type: Option<String>,
pub decoded: bool,
pub parser: String,
pub embedded_previews: Vec<WorkspaceEmbeddedPreviewMetadata>,
pub raw_sensor: Option<WorkspaceRawSensorMetadata>,
pub apple_photos: Option<WorkspaceApplePhotosMetadata>,
pub warnings: Vec<String>,
}Expand description
Workspace workspace media metadata request or result value. Creating the value does not touch the filesystem; workspace executors document read, write, edit, or search effects.
Fields§
§format: StringDetected media, document, archive, or parser format.
width: Option<u32>Detected image or media width in pixels when available.
height: Option<u32>Detected image or media height in pixels when available.
color_type: Option<String>Decoded image color type when the parser can determine it.
decoded: boolWhether the parser decoded the media/document enough to produce structured metadata.
parser: StringParser or fallback path that produced this metadata.
embedded_previews: Vec<WorkspaceEmbeddedPreviewMetadata>Descriptions of embedded previews discovered in RAW or container media.
raw_sensor: Option<WorkspaceRawSensorMetadata>RAW sensor metadata discovered without demosaicing full image data.
apple_photos: Option<WorkspaceApplePhotosMetadata>Apple Photos adjustment sidecar metadata, when a sidecar is present.
warnings: Vec<String>Non-fatal warnings from bounded readers, parsers, or policy downgrades.
Trait Implementations§
Source§impl Clone for WorkspaceMediaMetadata
impl Clone for WorkspaceMediaMetadata
Source§fn clone(&self) -> WorkspaceMediaMetadata
fn clone(&self) -> WorkspaceMediaMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WorkspaceMediaMetadata
impl Debug for WorkspaceMediaMetadata
Source§impl<'de> Deserialize<'de> for WorkspaceMediaMetadata
impl<'de> Deserialize<'de> for WorkspaceMediaMetadata
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>,
impl Eq for WorkspaceMediaMetadata
Source§impl PartialEq for WorkspaceMediaMetadata
impl PartialEq for WorkspaceMediaMetadata
Source§fn eq(&self, other: &WorkspaceMediaMetadata) -> bool
fn eq(&self, other: &WorkspaceMediaMetadata) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkspaceMediaMetadata
impl Serialize for WorkspaceMediaMetadata
impl StructuralPartialEq for WorkspaceMediaMetadata
Auto Trait Implementations§
impl Freeze for WorkspaceMediaMetadata
impl RefUnwindSafe for WorkspaceMediaMetadata
impl Send for WorkspaceMediaMetadata
impl Sync for WorkspaceMediaMetadata
impl Unpin for WorkspaceMediaMetadata
impl UnsafeUnpin for WorkspaceMediaMetadata
impl UnwindSafe for WorkspaceMediaMetadata
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.