pub struct SetProxyOptions { /* private fields */ }
Implementations§
Source§impl SetProxyOptions
impl SetProxyOptions
pub fn new( pac_script: Option<JsString>, proxy_rules: Option<JsString>, proxy_bypass_rules: Option<JsString>, ) -> SetProxyOptions
pub fn pac_script(&self) -> Option<JsString>
pub fn set_pac_script(&mut self, value: Option<JsString>)
pub fn proxy_rules(&self) -> Option<JsString>
pub fn set_proxy_rules(&mut self, value: Option<JsString>)
pub fn proxy_bypass_rules(&self) -> Option<JsString>
pub fn set_proxy_bypass_rules(&mut self, value: Option<JsString>)
Trait Implementations§
Source§impl Clone for SetProxyOptions
impl Clone for SetProxyOptions
Source§fn clone(&self) -> SetProxyOptions
fn clone(&self) -> SetProxyOptions
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 SetProxyOptions
impl Debug for SetProxyOptions
Source§impl From<SetProxyOptions> for JsValue
impl From<SetProxyOptions> for JsValue
Source§fn from(value: SetProxyOptions) -> Self
fn from(value: SetProxyOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SetProxyOptions
impl FromWasmAbi for SetProxyOptions
Source§impl IntoWasmAbi for SetProxyOptions
impl IntoWasmAbi for SetProxyOptions
Source§impl LongRefFromWasmAbi for SetProxyOptions
impl LongRefFromWasmAbi for SetProxyOptions
Source§impl OptionFromWasmAbi for SetProxyOptions
impl OptionFromWasmAbi for SetProxyOptions
Source§impl OptionIntoWasmAbi for SetProxyOptions
impl OptionIntoWasmAbi for SetProxyOptions
Source§impl PartialEq for SetProxyOptions
impl PartialEq for SetProxyOptions
Source§impl RefFromWasmAbi for SetProxyOptions
impl RefFromWasmAbi for SetProxyOptions
Source§type Anchor = RcRef<SetProxyOptions>
type Anchor = RcRef<SetProxyOptions>
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 RefMutFromWasmAbi for SetProxyOptions
impl RefMutFromWasmAbi for SetProxyOptions
Source§impl TryFromJsValue for SetProxyOptions
impl TryFromJsValue for SetProxyOptions
Source§impl VectorFromWasmAbi for SetProxyOptions
impl VectorFromWasmAbi for SetProxyOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SetProxyOptions]>
Source§impl VectorIntoJsValue for SetProxyOptions
impl VectorIntoJsValue for SetProxyOptions
fn vector_into_jsvalue(vector: Box<[SetProxyOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for SetProxyOptions
impl VectorIntoWasmAbi for SetProxyOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SetProxyOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for SetProxyOptions
impl WasmDescribeVector for SetProxyOptions
impl Eq for SetProxyOptions
impl StructuralPartialEq for SetProxyOptions
impl SupportsConstructor for SetProxyOptions
impl SupportsInstanceProperty for SetProxyOptions
impl SupportsStaticProperty for SetProxyOptions
Auto Trait Implementations§
impl Freeze for SetProxyOptions
impl RefUnwindSafe for SetProxyOptions
impl !Send for SetProxyOptions
impl !Sync for SetProxyOptions
impl Unpin for SetProxyOptions
impl UnwindSafe for SetProxyOptions
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::Abi
Source§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
.