pub struct ExtractRecord {
pub status: ExtractStatus,
pub data: Option<Value>,
pub tokens_used: u32,
pub credits_used: u32,
pub error: Option<String>,
pub created_at: Instant,
}Expand description
A /v2/extract job record. data is the single merged JSON object (the
scrape’s json field unioned across URLs), matching the live API’s
GET /v2/extract/{id} data shape (an object, not an array of documents).
Fields§
§status: ExtractStatus§data: Option<Value>§tokens_used: u32§credits_used: u32§error: Option<String>§created_at: InstantTrait Implementations§
Source§impl Clone for ExtractRecord
impl Clone for ExtractRecord
Source§fn clone(&self) -> ExtractRecord
fn clone(&self) -> ExtractRecord
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 ExtractRecord
impl RefUnwindSafe for ExtractRecord
impl Send for ExtractRecord
impl Sync for ExtractRecord
impl Unpin for ExtractRecord
impl UnsafeUnpin for ExtractRecord
impl UnwindSafe for ExtractRecord
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