Struct chromiumoxide::cdp::browser_protocol::network::CorsErrorStatusBuilder
source · pub struct CorsErrorStatusBuilder { /* private fields */ }
Implementations§
source§impl CorsErrorStatusBuilder
impl CorsErrorStatusBuilder
pub fn cors_error( self, cors_error: impl Into<CorsError>, ) -> CorsErrorStatusBuilder
pub fn failed_parameter( self, failed_parameter: impl Into<String>, ) -> CorsErrorStatusBuilder
pub fn build(self) -> Result<CorsErrorStatus, String>
Trait Implementations§
source§impl Clone for CorsErrorStatusBuilder
impl Clone for CorsErrorStatusBuilder
source§fn clone(&self) -> CorsErrorStatusBuilder
fn clone(&self) -> CorsErrorStatusBuilder
Returns a copy 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 Default for CorsErrorStatusBuilder
impl Default for CorsErrorStatusBuilder
source§fn default() -> CorsErrorStatusBuilder
fn default() -> CorsErrorStatusBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CorsErrorStatusBuilder
impl RefUnwindSafe for CorsErrorStatusBuilder
impl Send for CorsErrorStatusBuilder
impl Sync for CorsErrorStatusBuilder
impl Unpin for CorsErrorStatusBuilder
impl UnwindSafe for CorsErrorStatusBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)