Struct postman2openapi::postman::Information
source · pub struct Information {
pub postman_id: Option<String>,
pub exporter_id: Option<String>,
pub description: Option<DescriptionUnion>,
pub name: String,
pub schema: String,
pub version: Option<CollectionVersion>,
}
Expand description
Detailed description of the info block
Fields§
§postman_id: Option<String>
Every collection is identified by the unique value of this field. The value of this field is usually easiest to generate using a UID generator function. If you already have a collection, it is recommended that you maintain the same id since changing the id usually implies that is a different collection than it was originally. Note: This field exists for compatibility reasons with Collection Format V1.
exporter_id: Option<String>
§description: Option<DescriptionUnion>
§name: String
A collection’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 collection among a bunch of other collections, as such outlining its usage or content.
schema: String
This should ideally hold a link to the Postman schema that is used to validate this collection. E.g: https://schema.getpostman.com/collection/v1
version: Option<CollectionVersion>
Trait Implementations§
source§impl Clone for Information
impl Clone for Information
source§fn clone(&self) -> Information
fn clone(&self) -> Information
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Information
impl Debug for Information
source§impl Default for Information
impl Default for Information
source§fn default() -> Information
fn default() -> Information
source§impl<'de> Deserialize<'de> for Information
impl<'de> Deserialize<'de> for Information
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 Information
impl PartialEq for Information
source§fn eq(&self, other: &Information) -> bool
fn eq(&self, other: &Information) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Information
impl Serialize for Information
impl Eq for Information
impl StructuralPartialEq for Information
Auto Trait Implementations§
impl RefUnwindSafe for Information
impl Send for Information
impl Sync for Information
impl Unpin for Information
impl UnwindSafe for Information
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.