pub struct HttpSchemaDiff {
pub version: String,
pub schema_version: String,
pub schema_source: String,
pub schema_source_version: String,
pub info: DiffResult<InfoDiff>,
pub servers: DiffResult<VecDiff<ServerDiff>>,
pub paths: DiffResult<MapDiff<MayBeRefDiff<PathDiff>, PathsMapPathResolver>>,
pub components: DiffResult<ComponentsDiff>,
pub tags: DiffResult<VecDiff<TagDiff>>,
pub external_docs: DiffResult<ExternalDocDiff>,
}
Fields§
§version: String
§schema_version: String
§schema_source: String
§schema_source_version: String
§info: DiffResult<InfoDiff>
§servers: DiffResult<VecDiff<ServerDiff>>
§paths: DiffResult<MapDiff<MayBeRefDiff<PathDiff>, PathsMapPathResolver>>
§components: DiffResult<ComponentsDiff>
§external_docs: DiffResult<ExternalDocDiff>
Implementations§
Source§impl HttpSchemaDiff
impl HttpSchemaDiff
pub fn get_diff_version(&self) -> String
Trait Implementations§
Source§impl Clone for HttpSchemaDiff
impl Clone for HttpSchemaDiff
Source§fn clone(&self) -> HttpSchemaDiff
fn clone(&self) -> HttpSchemaDiff
Returns a copy 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 HttpSchemaDiff
impl Debug for HttpSchemaDiff
Source§impl<'de> Deserialize<'de> for HttpSchemaDiff
impl<'de> Deserialize<'de> for HttpSchemaDiff
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 Diff<HttpSchema, HttpSchemaDiff, HttpSchemaDiffContext> for HttpSchema
impl Diff<HttpSchema, HttpSchemaDiff, HttpSchemaDiffContext> for HttpSchema
fn diff( &self, new: Option<&HttpSchema>, context: &HttpSchemaDiffContext, ) -> DiffResult<HttpSchemaDiff>
Source§impl DiffOwnChanges for HttpSchemaDiff
impl DiffOwnChanges for HttpSchemaDiff
fn get_own_changes(&self) -> Vec<(Cow<'_, str>, DiffResultType)>
Source§impl Exporter<Markdown> for HttpSchemaDiff
impl Exporter<Markdown> for HttpSchemaDiff
Auto Trait Implementations§
impl Freeze for HttpSchemaDiff
impl RefUnwindSafe for HttpSchemaDiff
impl Send for HttpSchemaDiff
impl Sync for HttpSchemaDiff
impl Unpin for HttpSchemaDiff
impl UnwindSafe for HttpSchemaDiff
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