pub struct BrightData { /* private fields */ }Implementations§
Source§impl BrightData
impl BrightData
pub fn new(api_key: SecretString) -> Self
pub fn scrape_dataset( &self, dataset_id: impl AsRef<str>, request: &ScrapeRequest, ) -> Result<String, Box<dyn Error>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BrightData
impl RefUnwindSafe for BrightData
impl Send for BrightData
impl Sync for BrightData
impl Unpin for BrightData
impl UnsafeUnpin for BrightData
impl UnwindSafe for BrightData
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