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