pub struct Paths {
pub paths: IndexMap<String, ReferenceOr<PathItem>>,
pub extensions: IndexMap<String, Value>,
}
Expand description
Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths MAY be empty, due to ACL constraints.
Fields§
§paths: IndexMap<String, ReferenceOr<PathItem>>
A map of PathItems or references to them.
extensions: IndexMap<String, Value>
Inline extensions to this object.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Paths
impl<'de> Deserialize<'de> for Paths
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
source§impl IntoIterator for Paths
impl IntoIterator for Paths
source§impl PartialEq<Paths> for Paths
impl PartialEq<Paths> for Paths
impl StructuralPartialEq for Paths
Auto Trait Implementations§
impl RefUnwindSafe for Paths
impl Send for Paths
impl Sync for Paths
impl Unpin for Paths
impl UnwindSafe for Paths
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