pub struct BoundedFetchResult {
pub url: String,
pub status: u16,
pub status_text: String,
pub type: String,
pub redirected: bool,
pub headers: HashMap<String, String>,
pub body: String,
pub truncated: bool,
pub bytes_read: usize,
pub body_omitted: Option<String>,
}Fields§
§url: String§status: u16§status_text: String§type: String§redirected: bool§headers: HashMap<String, String>§body: String§truncated: bool§bytes_read: usize§body_omitted: Option<String>Trait Implementations§
Source§impl Clone for BoundedFetchResult
impl Clone for BoundedFetchResult
Source§impl Debug for BoundedFetchResult
impl Debug for BoundedFetchResult
Source§impl<'de> Deserialize<'de> for BoundedFetchResult
impl<'de> Deserialize<'de> for BoundedFetchResult
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 JsonSchema for BoundedFetchResult
impl JsonSchema for BoundedFetchResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for BoundedFetchResult
impl RefUnwindSafe for BoundedFetchResult
impl Send for BoundedFetchResult
impl Sync for BoundedFetchResult
impl Unpin for BoundedFetchResult
impl UnsafeUnpin for BoundedFetchResult
impl UnwindSafe for BoundedFetchResult
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