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
sourceimpl<'de> Deserialize<'de> for Paths
impl<'de> Deserialize<'de> for Paths
sourcefn 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
sourceimpl IntoIterator for Paths
impl IntoIterator 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more