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