pub struct RawOpenApiDocument { /* private fields */ }Implementations§
Source§impl RawOpenApiDocument
impl RawOpenApiDocument
pub fn source(&self) -> &OpenApiSource
pub fn format(&self) -> OpenApiContentFormat
pub fn content(&self) -> &str
pub fn value(&self) -> &Value
pub fn into_value(self) -> Value
pub fn specification_version( &self, ) -> Result<OpenApiSpecificationVersion, SpecificationVersionDetectionError>
Trait Implementations§
Source§impl Clone for RawOpenApiDocument
impl Clone for RawOpenApiDocument
Source§fn clone(&self) -> RawOpenApiDocument
fn clone(&self) -> RawOpenApiDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawOpenApiDocument
impl Debug for RawOpenApiDocument
Source§impl PartialEq for RawOpenApiDocument
impl PartialEq for RawOpenApiDocument
Source§fn eq(&self, other: &RawOpenApiDocument) -> bool
fn eq(&self, other: &RawOpenApiDocument) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RawOpenApiDocument
Auto Trait Implementations§
impl Freeze for RawOpenApiDocument
impl RefUnwindSafe for RawOpenApiDocument
impl Send for RawOpenApiDocument
impl Sync for RawOpenApiDocument
impl Unpin for RawOpenApiDocument
impl UnsafeUnpin for RawOpenApiDocument
impl UnwindSafe for RawOpenApiDocument
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