pub struct ItemResult {
pub success: bool,
pub output: Option<String>,
pub error: Option<String>,
}Expand description
Result of processing a single batch item.
Fields§
§success: boolWhether the item was processed successfully.
output: Option<String>Optional output data (e.g. generated tags, captions).
error: Option<String>Error message if processing failed.
Implementations§
Trait Implementations§
Source§impl Clone for ItemResult
impl Clone for ItemResult
Source§fn clone(&self) -> ItemResult
fn clone(&self) -> ItemResult
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 moreAuto Trait Implementations§
impl Freeze for ItemResult
impl RefUnwindSafe for ItemResult
impl Send for ItemResult
impl Sync for ItemResult
impl Unpin for ItemResult
impl UnsafeUnpin for ItemResult
impl UnwindSafe for ItemResult
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