pub struct ApiCollection {
pub name: String,
pub description: Option<String>,
pub version: Option<String>,
pub variables: Option<HashMap<String, String>>,
pub auth: Option<CollectionAuth>,
pub defaults: Option<CollectionDefaults>,
pub requests: Vec<CollectionRequest>,
pub environments: Option<HashMap<String, HashMap<String, String>>>,
pub run_options: Option<CollectionRunOptions>,
}Expand description
API collection configuration
Fields§
§name: StringCollection name
description: Option<String>Collection description
version: Option<String>Collection version
variables: Option<HashMap<String, String>>Collection variables
auth: Option<CollectionAuth>Collection authentication
defaults: Option<CollectionDefaults>Default request configuration
requests: Vec<CollectionRequest>Collection requests
environments: Option<HashMap<String, HashMap<String, String>>>Environment-specific variables
run_options: Option<CollectionRunOptions>Run options
Trait Implementations§
Source§impl Clone for ApiCollection
impl Clone for ApiCollection
Source§fn clone(&self) -> ApiCollection
fn clone(&self) -> ApiCollection
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 ApiCollection
impl Debug for ApiCollection
Source§impl<'de> Deserialize<'de> for ApiCollection
impl<'de> Deserialize<'de> for ApiCollection
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 ApiCollection
impl RefUnwindSafe for ApiCollection
impl Send for ApiCollection
impl Sync for ApiCollection
impl Unpin for ApiCollection
impl UnwindSafe for ApiCollection
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