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