pub struct ConvertTask { /* private fields */ }Implementations§
Source§impl ConvertTask
impl ConvertTask
pub fn new(input: impl Into<Input>, output_format: impl Into<String>) -> Self
pub fn input_format(self, input_format: impl Into<String>) -> Self
pub fn engine(self, engine: impl Into<String>) -> Self
pub fn engine_version(self, engine_version: impl Into<String>) -> Self
pub fn filename(self, filename: impl Into<String>) -> Self
pub fn timeout(self, timeout: u64) -> Self
pub fn option(self, key: impl Into<String>, value: impl Into<Value>) -> Self
Trait Implementations§
Source§impl Clone for ConvertTask
impl Clone for ConvertTask
Source§fn clone(&self) -> ConvertTask
fn clone(&self) -> ConvertTask
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 ConvertTask
impl Debug for ConvertTask
Source§impl From<ConvertTask> for TaskRequest
impl From<ConvertTask> for TaskRequest
Source§fn from(value: ConvertTask) -> Self
fn from(value: ConvertTask) -> Self
Converts to this type from the input type.
Source§impl Serialize for ConvertTask
impl Serialize for ConvertTask
Source§impl TaskPayload for ConvertTask
impl TaskPayload for ConvertTask
Auto Trait Implementations§
impl Freeze for ConvertTask
impl RefUnwindSafe for ConvertTask
impl Send for ConvertTask
impl Sync for ConvertTask
impl Unpin for ConvertTask
impl UnsafeUnpin for ConvertTask
impl UnwindSafe for ConvertTask
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