pub struct ChromiumCookie {Show 18 fields
pub creation_utc: Option<DateTime<Utc>>,
pub host_key: String,
pub top_frame_site_key: String,
pub name: String,
pub value: String,
pub decrypted_value: Option<String>,
pub path: String,
pub expires_utc: Option<DateTime<Utc>>,
pub is_secure: bool,
pub is_httponly: bool,
pub last_access_utc: Option<DateTime<Utc>>,
pub has_expires: bool,
pub is_persistent: bool,
pub priority: i32,
pub samesite: SameSite,
pub source_scheme: i32,
pub source_port: i32,
pub last_update_utc: Option<DateTime<Utc>>,
}
Fields§
§creation_utc: Option<DateTime<Utc>>
§host_key: String
§top_frame_site_key: String
§name: String
§value: String
§decrypted_value: Option<String>
§path: String
§expires_utc: Option<DateTime<Utc>>
§is_secure: bool
§is_httponly: bool
§last_access_utc: Option<DateTime<Utc>>
§has_expires: bool
§is_persistent: bool
§priority: i32
§samesite: SameSite
§source_scheme: i32
§source_port: i32
§last_update_utc: Option<DateTime<Utc>>
Implementations§
Source§impl ChromiumCookie
impl ChromiumCookie
pub fn set_encrypted_value(&mut self, encrypted_value: String)
Trait Implementations§
Source§impl Clone for ChromiumCookie
impl Clone for ChromiumCookie
Source§fn clone(&self) -> ChromiumCookie
fn clone(&self) -> ChromiumCookie
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 CookiesInfo for ChromiumCookie
impl CookiesInfo for ChromiumCookie
fn name(&self) -> &str
fn path(&self) -> &str
fn value(&self) -> &str
fn domain(&self) -> &str
fn expiry(&self) -> Option<String>
fn is_secure(&self) -> bool
fn same_site(&self) -> SameSite
fn is_http_only(&self) -> bool
fn get_url(&self) -> String
Source§impl Debug for ChromiumCookie
impl Debug for ChromiumCookie
Source§impl FromIterator<ChromiumCookie> for Jar
impl FromIterator<ChromiumCookie> for Jar
Source§fn from_iter<T: IntoIterator<Item = ChromiumCookie>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = ChromiumCookie>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl PartialEq for ChromiumCookie
impl PartialEq for ChromiumCookie
Source§impl TryFrom<ChromiumCookie> for HeaderValue
impl TryFrom<ChromiumCookie> for HeaderValue
Source§type Error = InvalidHeaderValue
type Error = InvalidHeaderValue
The type returned in the event of a conversion error.
impl Eq for ChromiumCookie
impl StructuralPartialEq for ChromiumCookie
Auto Trait Implementations§
impl Freeze for ChromiumCookie
impl RefUnwindSafe for ChromiumCookie
impl Send for ChromiumCookie
impl Sync for ChromiumCookie
impl Unpin for ChromiumCookie
impl UnwindSafe for ChromiumCookie
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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