pub struct LoadNetworkResourcePageResult {
pub success: bool,
pub net_error: Option<f64>,
pub net_error_name: Option<String>,
pub http_status_code: Option<f64>,
pub stream: Option<StreamHandle>,
pub headers: Option<Headers>,
}
Expand description
An object providing the result of a network resource load. LoadNetworkResourcePageResult
Fields§
§success: bool
§net_error: Option<f64>
Optional values used for error reporting.
net_error_name: Option<String>
§http_status_code: Option<f64>
§stream: Option<StreamHandle>
If successful, one of the following two fields holds the result.
headers: Option<Headers>
Response headers.
Implementations§
Source§impl LoadNetworkResourcePageResult
impl LoadNetworkResourcePageResult
pub fn new(success: impl Into<bool>) -> LoadNetworkResourcePageResult
Source§impl LoadNetworkResourcePageResult
impl LoadNetworkResourcePageResult
pub fn builder() -> LoadNetworkResourcePageResultBuilder
Source§impl LoadNetworkResourcePageResult
impl LoadNetworkResourcePageResult
pub const IDENTIFIER: &'static str = "Network.LoadNetworkResourcePageResult"
Trait Implementations§
Source§impl Clone for LoadNetworkResourcePageResult
impl Clone for LoadNetworkResourcePageResult
Source§fn clone(&self) -> LoadNetworkResourcePageResult
fn clone(&self) -> LoadNetworkResourcePageResult
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<'de> Deserialize<'de> for LoadNetworkResourcePageResult
impl<'de> Deserialize<'de> for LoadNetworkResourcePageResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LoadNetworkResourcePageResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LoadNetworkResourcePageResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LoadNetworkResourcePageResult
impl PartialEq for LoadNetworkResourcePageResult
Source§fn eq(&self, other: &LoadNetworkResourcePageResult) -> bool
fn eq(&self, other: &LoadNetworkResourcePageResult) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for LoadNetworkResourcePageResult
impl Serialize for LoadNetworkResourcePageResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LoadNetworkResourcePageResult
Auto Trait Implementations§
impl Freeze for LoadNetworkResourcePageResult
impl RefUnwindSafe for LoadNetworkResourcePageResult
impl Send for LoadNetworkResourcePageResult
impl Sync for LoadNetworkResourcePageResult
impl Unpin for LoadNetworkResourcePageResult
impl UnwindSafe for LoadNetworkResourcePageResult
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more