Struct ora_api::client::TaskOutput
source · pub struct TaskOutput { /* private fields */ }
Expand description
Output of a task.
Implementations§
source§impl TaskOutput
impl TaskOutput
sourcepub fn get<T: DeserializeOwned>(&self) -> Result<T>
pub fn get<T: DeserializeOwned>(&self) -> Result<T>
sourcepub fn into_bytes(self) -> Vec<u8>
pub fn into_bytes(self) -> Vec<u8>
Convert into the raw output bytes.
sourcepub fn format(&self) -> TaskDataFormat
pub fn format(&self) -> TaskDataFormat
Return the task’s output format.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TaskOutput
impl Send for TaskOutput
impl Sync for TaskOutput
impl Unpin for TaskOutput
impl UnwindSafe for TaskOutput
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