Struct atomic_bomb_engine::models::api_endpoint::ApiEndpoint
source · pub struct ApiEndpoint {
pub name: String,
pub url: String,
pub method: String,
pub timeout_secs: u64,
pub weight: u32,
pub json: Option<Value>,
pub form_data: Option<HashMap<String, String>>,
pub headers: Option<HashMap<String, String>>,
pub cookies: Option<String>,
pub assert_options: Option<Vec<AssertOption>>,
}Fields§
§name: String§url: String§method: String§timeout_secs: u64§weight: u32§json: Option<Value>§form_data: Option<HashMap<String, String>>§headers: Option<HashMap<String, String>>§assert_options: Option<Vec<AssertOption>>Trait Implementations§
source§impl Clone for ApiEndpoint
impl Clone for ApiEndpoint
source§fn clone(&self) -> ApiEndpoint
fn clone(&self) -> ApiEndpoint
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 Debug for ApiEndpoint
impl Debug for ApiEndpoint
source§impl<'de> Deserialize<'de> for ApiEndpoint
impl<'de> Deserialize<'de> for ApiEndpoint
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 ApiEndpoint
impl RefUnwindSafe for ApiEndpoint
impl Send for ApiEndpoint
impl Sync for ApiEndpoint
impl Unpin for ApiEndpoint
impl UnwindSafe for ApiEndpoint
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