pub struct ScrapeOptions {
pub room_filter: Option<RoomFilter>,
pub user_filter: Option<UserFilter>,
}Expand description
Scraping options: filters applied after fetching.
Fields§
§room_filter: Option<RoomFilter>§user_filter: Option<UserFilter>Implementations§
Source§impl ScrapeOptions
impl ScrapeOptions
pub fn with_room_filter(self, f: RoomFilter) -> Self
pub fn with_user_filter(self, f: UserFilter) -> Self
Trait Implementations§
Source§impl Clone for ScrapeOptions
impl Clone for ScrapeOptions
Source§fn clone(&self) -> ScrapeOptions
fn clone(&self) -> ScrapeOptions
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 moreSource§impl Debug for ScrapeOptions
impl Debug for ScrapeOptions
Source§impl Default for ScrapeOptions
impl Default for ScrapeOptions
Source§fn default() -> ScrapeOptions
fn default() -> ScrapeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScrapeOptions
impl RefUnwindSafe for ScrapeOptions
impl Send for ScrapeOptions
impl Sync for ScrapeOptions
impl Unpin for ScrapeOptions
impl UnsafeUnpin for ScrapeOptions
impl UnwindSafe for ScrapeOptions
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