pub struct CookieStoreId(/* private fields */);Expand description
Firefox container (cookie store) identifier.
A lightweight newtype around String that prevents accidental misuse of
other string fields where a cookie store ID is expected.
Values are typically of the form "firefox-container-1".
Implementations§
Source§impl CookieStoreId
impl CookieStoreId
Trait Implementations§
Source§impl AsRef<str> for CookieStoreId
impl AsRef<str> for CookieStoreId
Source§impl Clone for CookieStoreId
impl Clone for CookieStoreId
Source§fn clone(&self) -> CookieStoreId
fn clone(&self) -> CookieStoreId
Returns a duplicate 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 CookieStoreId
impl Debug for CookieStoreId
Source§impl<'de> Deserialize<'de> for CookieStoreId
impl<'de> Deserialize<'de> for CookieStoreId
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
Source§impl Display for CookieStoreId
impl Display for CookieStoreId
Source§impl FromStr for CookieStoreId
impl FromStr for CookieStoreId
Source§impl Hash for CookieStoreId
impl Hash for CookieStoreId
Source§impl Ord for CookieStoreId
impl Ord for CookieStoreId
Source§fn cmp(&self, other: &CookieStoreId) -> Ordering
fn cmp(&self, other: &CookieStoreId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CookieStoreId
impl PartialEq for CookieStoreId
Source§impl PartialOrd for CookieStoreId
impl PartialOrd for CookieStoreId
Source§impl Serialize for CookieStoreId
impl Serialize for CookieStoreId
Source§impl TryFrom<&str> for CookieStoreId
impl TryFrom<&str> for CookieStoreId
Source§impl TryFrom<String> for CookieStoreId
impl TryFrom<String> for CookieStoreId
impl Eq for CookieStoreId
impl StructuralPartialEq for CookieStoreId
Auto Trait Implementations§
impl Freeze for CookieStoreId
impl RefUnwindSafe for CookieStoreId
impl Send for CookieStoreId
impl Sync for CookieStoreId
impl Unpin for CookieStoreId
impl UnsafeUnpin for CookieStoreId
impl UnwindSafe for CookieStoreId
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