pub struct OutputIntent {
pub output_condition_identifier: String,
pub output_condition: Option<String>,
pub registry_name: Option<String>,
pub info: Option<String>,
}Expand description
Output intent specification for PDF/X.
Fields§
§output_condition_identifier: StringOutput condition identifier (e.g., “FOGRA39”).
output_condition: Option<String>Human-readable output condition.
registry_name: Option<String>Registry name (e.g., http://www.color.org).
info: Option<String>Additional information.
Implementations§
Source§impl OutputIntent
impl OutputIntent
Sourcepub fn with_condition(self, condition: impl Into<String>) -> Self
pub fn with_condition(self, condition: impl Into<String>) -> Self
Set the output condition description.
Sourcepub fn with_registry(self, registry: impl Into<String>) -> Self
pub fn with_registry(self, registry: impl Into<String>) -> Self
Set the registry name.
Trait Implementations§
Source§impl Clone for OutputIntent
impl Clone for OutputIntent
Source§fn clone(&self) -> OutputIntent
fn clone(&self) -> OutputIntent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputIntent
impl Debug for OutputIntent
Source§impl Default for OutputIntent
impl Default for OutputIntent
Source§impl<'de> Deserialize<'de> for OutputIntent
impl<'de> Deserialize<'de> for OutputIntent
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
Source§impl PartialEq for OutputIntent
impl PartialEq for OutputIntent
Source§impl Serialize for OutputIntent
impl Serialize for OutputIntent
impl StructuralPartialEq for OutputIntent
Auto Trait Implementations§
impl Freeze for OutputIntent
impl RefUnwindSafe for OutputIntent
impl Send for OutputIntent
impl Sync for OutputIntent
impl Unpin for OutputIntent
impl UnsafeUnpin for OutputIntent
impl UnwindSafe for OutputIntent
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