pub struct HarParam {
pub name: String,
pub value: Option<String>,
pub file_name: Option<String>,
pub content_type: Option<String>,
}Expand description
HAR POST parameter (form field or file)
Fields§
§name: StringParameter name
value: Option<String>Parameter value (None for file uploads)
file_name: Option<String>Filename (for file uploads)
content_type: Option<String>Content type (for file uploads)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarParam
impl<'de> Deserialize<'de> for HarParam
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 HarParam
impl RefUnwindSafe for HarParam
impl Send for HarParam
impl Sync for HarParam
impl Unpin for HarParam
impl UnsafeUnpin for HarParam
impl UnwindSafe for HarParam
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