pub struct Collection {
pub info: Info,
pub item: Vec<Item>,
pub auth: Auth,
pub event: Vec<Event>,
pub variable: Option<Vec<Variable>>,
}
Expand description
Top level layer of a Postman collection
Fields§
§info: Info
Name and description of the collection
item: Vec<Item>
Can be a folder, request or response
auth: Auth
The authentication method used
event: Vec<Event>
§variable: Option<Vec<Variable>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Collection
impl<'de> Deserialize<'de> for Collection
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 Collection
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
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