pub struct FirefoxGetter { /* private fields */ }
Implementations§
Source§impl FirefoxGetter
impl FirefoxGetter
filter by condition
§Example
ⓘ
use decrypt_cookies::{firefox::MozCookiesColumn, Browser, FirefoxBuilder,ColumnTrait};
#[tokio::main]
async fn main() {
let ffget = FirefoxBuilder::new(Browser::Firefox)
.build()
.await
.unwrap();
let res = ffget
.get_cookies_filter(MozCookiesColumn::Host.contains("mozilla.com"))
.await
.unwrap_or_default();
}
Sourcepub async fn get_session_csrf(&self, host: &str) -> Result<LeetCodeCookies>
pub async fn get_session_csrf(&self, host: &str) -> Result<LeetCodeCookies>
get session csrf for leetcode
pub const fn browser(&self) -> Browser
pub fn info(&self) -> &impl FfInfo
Trait Implementations§
Source§impl Clone for FirefoxGetter
impl Clone for FirefoxGetter
Source§fn clone(&self) -> FirefoxGetter
fn clone(&self) -> FirefoxGetter
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 Debug for FirefoxGetter
impl Debug for FirefoxGetter
Source§impl Default for FirefoxGetter
impl Default for FirefoxGetter
Source§fn default() -> FirefoxGetter
fn default() -> FirefoxGetter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FirefoxGetter
impl !RefUnwindSafe for FirefoxGetter
impl Send for FirefoxGetter
impl Sync for FirefoxGetter
impl Unpin for FirefoxGetter
impl !UnwindSafe for FirefoxGetter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more