pub struct CookiesSetDetails { /* private fields */ }Implementations§
Source§impl CookiesSetDetails
impl CookiesSetDetails
pub fn new( domain: Option<JsString>, expiration_date: Option<bool>, http_only: Option<bool>, name: Option<JsString>, path: Option<JsString>, secure: Option<bool>, url: JsString, value: Option<JsString>, ) -> CookiesSetDetails
pub fn domain(&self) -> Option<JsString>
pub fn set_domain(&mut self, value: Option<JsString>)
pub fn expiration_date(&self) -> Option<bool>
pub fn set_expiration_date(&mut self, value: Option<bool>)
pub fn http_only(&self) -> Option<bool>
pub fn set_http_only(&mut self, value: Option<bool>)
pub fn name(&self) -> Option<JsString>
pub fn set_name(&mut self, value: Option<JsString>)
pub fn path(&self) -> Option<JsString>
pub fn set_path(&mut self, value: Option<JsString>)
pub fn secure(&self) -> Option<bool>
pub fn set_secure(&mut self, value: Option<bool>)
pub fn url(&self) -> JsString
pub fn set_url(&mut self, value: JsString)
pub fn value(&self) -> Option<JsString>
pub fn set_value(&mut self, value: Option<JsString>)
Trait Implementations§
Source§impl Clone for CookiesSetDetails
impl Clone for CookiesSetDetails
Source§fn clone(&self) -> CookiesSetDetails
fn clone(&self) -> CookiesSetDetails
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 CookiesSetDetails
impl Debug for CookiesSetDetails
Source§impl From<CookiesSetDetails> for JsValue
impl From<CookiesSetDetails> for JsValue
Source§fn from(value: CookiesSetDetails) -> Self
fn from(value: CookiesSetDetails) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for CookiesSetDetails
impl FromWasmAbi for CookiesSetDetails
Source§impl IntoWasmAbi for CookiesSetDetails
impl IntoWasmAbi for CookiesSetDetails
Source§impl PartialEq for CookiesSetDetails
impl PartialEq for CookiesSetDetails
Source§impl RefFromWasmAbi for CookiesSetDetails
impl RefFromWasmAbi for CookiesSetDetails
Source§type Anchor = RcRef<CookiesSetDetails>
type Anchor = RcRef<CookiesSetDetails>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl TryFromJsValue for CookiesSetDetails
impl TryFromJsValue for CookiesSetDetails
Source§impl VectorFromWasmAbi for CookiesSetDetails
impl VectorFromWasmAbi for CookiesSetDetails
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CookiesSetDetails]>
Source§impl VectorIntoJsValue for CookiesSetDetails
impl VectorIntoJsValue for CookiesSetDetails
fn vector_into_jsvalue(vector: Box<[CookiesSetDetails]>) -> JsValue
Source§impl VectorIntoWasmAbi for CookiesSetDetails
impl VectorIntoWasmAbi for CookiesSetDetails
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CookiesSetDetails]>) -> Self::Abi
Source§impl WasmDescribeVector for CookiesSetDetails
impl WasmDescribeVector for CookiesSetDetails
impl Eq for CookiesSetDetails
impl StructuralPartialEq for CookiesSetDetails
impl SupportsConstructor for CookiesSetDetails
impl SupportsInstanceProperty for CookiesSetDetails
impl SupportsStaticProperty for CookiesSetDetails
Auto Trait Implementations§
impl Freeze for CookiesSetDetails
impl RefUnwindSafe for CookiesSetDetails
impl !Send for CookiesSetDetails
impl !Sync for CookiesSetDetails
impl Unpin for CookiesSetDetails
impl UnwindSafe for CookiesSetDetails
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.