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