pub struct PathsObject(/* private fields */);
Expand description
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#pathsObject
Implementations§
Source§impl PathsObject
impl PathsObject
Sourcepub fn new(paths: Vec<(PathFieldName, PathItemObject)>) -> Self
pub fn new(paths: Vec<(PathFieldName, PathItemObject)>) -> Self
The Paths MAY be empty, due to ACL constraints.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathsObject
impl RefUnwindSafe for PathsObject
impl Send for PathsObject
impl Sync for PathsObject
impl Unpin for PathsObject
impl UnwindSafe for PathsObject
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