pub struct CollectionItem {
pub name: String,
pub item: Vec<CollectionItem>,
pub request: Option<PostmanRequest>,
}Expand description
Collection item (can be a request or a folder)
Fields§
§name: StringItem name
item: Vec<CollectionItem>Child items (for folders)
request: Option<PostmanRequest>Request data (None if this is a folder)
Trait Implementations§
Source§impl Debug for CollectionItem
impl Debug for CollectionItem
Source§impl<'de> Deserialize<'de> for CollectionItem
impl<'de> Deserialize<'de> for CollectionItem
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 CollectionItem
impl RefUnwindSafe for CollectionItem
impl Send for CollectionItem
impl Sync for CollectionItem
impl Unpin for CollectionItem
impl UnsafeUnpin for CollectionItem
impl UnwindSafe for CollectionItem
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