pub struct WebfetchInput {
pub url: String,
pub max_size: Option<usize>,
}Expand description
Input for webfetch operation
Fields§
§url: StringURL to fetch
max_size: Option<usize>Optional maximum content size in bytes
Implementations§
Source§impl WebfetchInput
impl WebfetchInput
Trait Implementations§
Source§impl Clone for WebfetchInput
impl Clone for WebfetchInput
Source§fn clone(&self) -> WebfetchInput
fn clone(&self) -> WebfetchInput
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 WebfetchInput
impl Debug for WebfetchInput
Source§impl<'de> Deserialize<'de> for WebfetchInput
impl<'de> Deserialize<'de> for WebfetchInput
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 WebfetchInput
impl RefUnwindSafe for WebfetchInput
impl Send for WebfetchInput
impl Sync for WebfetchInput
impl Unpin for WebfetchInput
impl UnwindSafe for WebfetchInput
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