pub struct RequestedJobOutput { /* private fields */ }Expand description
The representation a successful job is expected to add.
Implementations§
Source§impl RequestedJobOutput
impl RequestedJobOutput
Sourcepub fn new(
asset_id: AssetId,
representation_kind: RepresentationKind,
target_root: Option<String>,
) -> Result<Self>
pub fn new( asset_id: AssetId, representation_kind: RepresentationKind, target_root: Option<String>, ) -> Result<Self>
Creates a requested output with an optional logical media-root name.
§Errors
Returns an invalid-argument error when target_root is not a portable
logical root name.
Sourcepub const fn asset_id(&self) -> AssetId
pub const fn asset_id(&self) -> AssetId
Returns the asset that will own the output representation.
Sourcepub const fn representation_kind(&self) -> RepresentationKind
pub const fn representation_kind(&self) -> RepresentationKind
Returns the semantic representation kind to create.
Sourcepub fn target_root(&self) -> Option<&str>
pub fn target_root(&self) -> Option<&str>
Returns the optional logical output-root name.
Trait Implementations§
Source§impl Clone for RequestedJobOutput
impl Clone for RequestedJobOutput
Source§fn clone(&self) -> RequestedJobOutput
fn clone(&self) -> RequestedJobOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RequestedJobOutput
impl Debug for RequestedJobOutput
impl Eq for RequestedJobOutput
Source§impl PartialEq for RequestedJobOutput
impl PartialEq for RequestedJobOutput
impl StructuralPartialEq for RequestedJobOutput
Auto Trait Implementations§
impl Freeze for RequestedJobOutput
impl RefUnwindSafe for RequestedJobOutput
impl Send for RequestedJobOutput
impl Sync for RequestedJobOutput
impl Unpin for RequestedJobOutput
impl UnsafeUnpin for RequestedJobOutput
impl UnwindSafe for RequestedJobOutput
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