pub struct InstagramActorInput {
pub usernames: Vec<String>,
pub results_limit: Option<u64>,
pub proxy_configuration: Option<ProxyConfiguration>,
}Expand description
Example typed input for an Instagram-scraping Actor.
This is illustrative only. Every Actor on Apify defines its own input JSON schema. You should check the Actor’s README in the Apify Console and create a matching Rust struct for the Actor you actually use.
The pattern is always the same: a struct that derives Serialize, where
each field maps to a key the Actor expects in its input object.
Fields§
§usernames: Vec<String>Instagram handles to scrape (without the leading @).
Example: vec!["apify".into(), "rustlang".into()]
results_limit: Option<u64>Cap the number of results (posts, comments, …) per username.
None lets the Actor use its own default.
proxy_configuration: Option<ProxyConfiguration>Proxy settings — strongly recommended for scraping to avoid IP blocks.
Trait Implementations§
Source§impl Clone for InstagramActorInput
impl Clone for InstagramActorInput
Source§impl Debug for InstagramActorInput
impl Debug for InstagramActorInput
Source§impl<'de> Deserialize<'de> for InstagramActorInput
impl<'de> Deserialize<'de> for InstagramActorInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InstagramActorInput
impl RefUnwindSafe for InstagramActorInput
impl Send for InstagramActorInput
impl Sync for InstagramActorInput
impl Unpin for InstagramActorInput
impl UnsafeUnpin for InstagramActorInput
impl UnwindSafe for InstagramActorInput
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