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 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>§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 moreAuto Trait Implementations§
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