pub struct NetworkReport {
pub enabled: bool,
pub needed: Vec<Value>,
pub requests: Vec<NetworkRequest>,
}Expand description
What a verification did, or could have done, on the network.
needed lists what a fetch could settle and is filled in whether or not
online checks were allowed, so an offline caller can see exactly what
turning them on would do. Its entries are the kernel’s own description of
each need. requests records every attempt, including the ones that were
refused.
Fields§
§enabled: boolWhether this verification was allowed to fetch.
needed: Vec<Value>Every network resource this asset references.
requests: Vec<NetworkRequest>Every request that was attempted.
Trait Implementations§
Source§impl Clone for NetworkReport
impl Clone for NetworkReport
Source§impl Debug for NetworkReport
impl Debug for NetworkReport
Source§impl Default for NetworkReport
impl Default for NetworkReport
Source§impl<'de> Deserialize<'de> for NetworkReportwhere
NetworkReport: Default,
impl<'de> Deserialize<'de> for NetworkReportwhere
NetworkReport: Default,
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
Source§impl PartialEq for NetworkReport
impl PartialEq for NetworkReport
Source§impl Serialize for NetworkReport
impl Serialize for NetworkReport
impl StructuralPartialEq for NetworkReport
Auto Trait Implementations§
impl Freeze for NetworkReport
impl RefUnwindSafe for NetworkReport
impl Send for NetworkReport
impl Sync for NetworkReport
impl Unpin for NetworkReport
impl UnsafeUnpin for NetworkReport
impl UnwindSafe for NetworkReport
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