pub struct LoadNetworkResourceOptions { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security and experimental only.Expand description
An options object that may be extended later to better support CORS, CORB and streaming.
Implementations§
Source§impl LoadNetworkResourceOptions
impl LoadNetworkResourceOptions
pub fn new(disable_cache: bool, include_credentials: bool) -> Self
pub fn disable_cache(&self) -> bool
pub fn include_credentials(&self) -> bool
Trait Implementations§
Source§impl Clone for LoadNetworkResourceOptions
impl Clone for LoadNetworkResourceOptions
Source§fn clone(&self) -> LoadNetworkResourceOptions
fn clone(&self) -> LoadNetworkResourceOptions
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 LoadNetworkResourceOptions
impl Debug for LoadNetworkResourceOptions
Source§impl<'de> Deserialize<'de> for LoadNetworkResourceOptions
impl<'de> Deserialize<'de> for LoadNetworkResourceOptions
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
Auto Trait Implementations§
impl Freeze for LoadNetworkResourceOptions
impl RefUnwindSafe for LoadNetworkResourceOptions
impl Send for LoadNetworkResourceOptions
impl Sync for LoadNetworkResourceOptions
impl Unpin for LoadNetworkResourceOptions
impl UnwindSafe for LoadNetworkResourceOptions
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