pub struct Scraper {
pub dataset_id: String,
pub workspace_id: String,
pub status: ScraperStatus,
pub store: bool,
pub key: Vec<String>,
pub instructions: String,
pub live_snapshot_id: Option<String>,
pub last_rows_at: Option<DateTime<Utc>>,
pub rows_total: u64,
pub last_error: String,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
}Expand description
A dataset kept updated by its workspace’s scraper agent.
Fields§
§dataset_id: String§workspace_id: String§status: ScraperStatusbuilding until its first rows arrive, then active. off when it stopped and needs turning on again.
store: boolPushed rows merge into the dataset’s live snapshot, so its data includes them.
key: Vec<String>Fields a row is known by: a pushed row with the same key replaces the old one. None means rows append.
instructions: String§live_snapshot_id: Option<String>The snapshot pushed rows merge into, once there is one.
last_rows_at: Option<DateTime<Utc>>§rows_total: u64§last_error: StringThe last thing that went wrong, or ‘’.
created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>Implementations§
Trait Implementations§
impl StructuralPartialEq for Scraper
Auto Trait Implementations§
impl Forget for Scraper
impl Freeze for Scraper
impl Move for Scraper
impl RefUnwindSafe for Scraper
impl Send for Scraper
impl Sync for Scraper
impl Unpin for Scraper
impl UnsafeUnpin for Scraper
impl UnwindSafe for Scraper
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