pub struct ApiSpecFileName { /* private fields */ }Expand description
Describes the path to an OpenAPI document file, relative to some root where similar documents are found
Implementations§
Source§impl ApiSpecFileName
impl ApiSpecFileName
pub fn ident(&self) -> &ApiIdent
pub fn kind(&self) -> &ApiSpecFileNameKind
Sourcepub fn path(&self) -> Utf8PathBuf
pub fn path(&self) -> Utf8PathBuf
Returns the path of this file relative to the root of the OpenAPI documents
Trait Implementations§
Source§impl Clone for ApiSpecFileName
impl Clone for ApiSpecFileName
Source§fn clone(&self) -> ApiSpecFileName
fn clone(&self) -> ApiSpecFileName
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApiSpecFileName
impl Debug for ApiSpecFileName
Source§impl Display for ApiSpecFileName
impl Display for ApiSpecFileName
Source§impl Ord for ApiSpecFileName
impl Ord for ApiSpecFileName
Source§fn cmp(&self, other: &ApiSpecFileName) -> Ordering
fn cmp(&self, other: &ApiSpecFileName) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ApiSpecFileName
impl PartialEq for ApiSpecFileName
Source§impl PartialOrd for ApiSpecFileName
impl PartialOrd for ApiSpecFileName
impl Eq for ApiSpecFileName
impl StructuralPartialEq for ApiSpecFileName
Auto Trait Implementations§
impl Freeze for ApiSpecFileName
impl RefUnwindSafe for ApiSpecFileName
impl Send for ApiSpecFileName
impl Sync for ApiSpecFileName
impl Unpin for ApiSpecFileName
impl UnwindSafe for ApiSpecFileName
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