Struct vinted_rs::queries::VintedWrappers
source · pub struct VintedWrappers<'a> {
pub len: usize,
/* private fields */
}
Expand description
This will allow you to operate with multiple hosts using just one struct
Fields§
§len: usize
Implementations§
source§impl<'a> VintedWrappers<'a>
impl<'a> VintedWrappers<'a>
pub fn new_with_hosts(hosts: Vec<Host>) -> Self
pub fn all_wrappers() -> Self
pub fn get_wrapper(&self, index: usize) -> &VintedWrapper<'_>
pub async fn lineal_fetch( &mut self, filters: &Filter, num: u32, current: usize, user_agent: Option<&str>, proxy_cookies: Option<Proxy>, proxy_fetch: Option<Proxy> ) -> Result<Items, VintedWrapperError>
pub async fn lineal_to_advance_items( &mut self, item_id: i64, current: usize, user_agent: Option<&str>, proxy_cookies: Option<Proxy>, proxy_fetch: Option<Proxy> ) -> Result<AdvancedItem, VintedWrapperError>
Trait Implementations§
source§impl<'a> Clone for VintedWrappers<'a>
impl<'a> Clone for VintedWrappers<'a>
source§fn clone(&self) -> VintedWrappers<'a>
fn clone(&self) -> VintedWrappers<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for VintedWrappers<'a>
impl<'a> Debug for VintedWrappers<'a>
Auto Trait Implementations§
impl<'a> Freeze for VintedWrappers<'a>
impl<'a> RefUnwindSafe for VintedWrappers<'a>
impl<'a> Send for VintedWrappers<'a>
impl<'a> Sync for VintedWrappers<'a>
impl<'a> Unpin for VintedWrappers<'a>
impl<'a> UnwindSafe for VintedWrappers<'a>
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