Struct postman2openapi::postman::Items
source · pub struct Items {
pub description: Option<DescriptionUnion>,
pub event: Option<Vec<Event>>,
pub id: Option<String>,
pub name: Option<String>,
pub protocol_profile_behavior: Option<ProtocolProfileBehavior>,
pub request: Option<RequestUnion>,
pub response: Option<Vec<Option<ResponseClass>>>,
pub variable: Option<Vec<Variable>>,
pub auth: Option<Auth>,
pub item: Option<Vec<Items>>,
}
Expand description
Items are entities which contain an actual HTTP request, and sample responses attached to it.
One of the primary goals of Postman is to organize the development of APIs. To this end, it is necessary to be able to group requests together. This can be achived using ‘Folders’. A folder just is an ordered set of requests.
Fields§
§description: Option<DescriptionUnion>
§event: Option<Vec<Event>>
§id: Option<String>
A unique ID that is used to identify collections internally
name: Option<String>
A human readable identifier for the current item.
A folder’s friendly name is defined by this field. You would want to set this field to a value that would allow you to easily identify this folder.
protocol_profile_behavior: Option<ProtocolProfileBehavior>
Set of configurations used to alter the usual behavior of sending the request
request: Option<RequestUnion>
§response: Option<Vec<Option<ResponseClass>>>
§variable: Option<Vec<Variable>>
§auth: Option<Auth>
§item: Option<Vec<Items>>
Items are entities which contain an actual HTTP request, and sample responses attached to it. Folders may contain many items.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Items
impl<'de> Deserialize<'de> for Items
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>,
source§impl PartialEq for Items
impl PartialEq for Items
impl Eq for Items
impl StructuralPartialEq for Items
Auto Trait Implementations§
impl RefUnwindSafe for Items
impl Send for Items
impl Sync for Items
impl Unpin for Items
impl UnwindSafe for Items
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.