pub struct HttpSchemaDiffContext { /* private fields */ }
Implementations§
Source§impl HttpSchemaDiffContext
impl HttpSchemaDiffContext
pub fn new(source: Rc<HttpSchema>, target: Rc<HttpSchema>) -> Self
Trait Implementations§
Source§impl Clone for HttpSchemaDiffContext
impl Clone for HttpSchemaDiffContext
Source§fn clone(&self) -> HttpSchemaDiffContext
fn clone(&self) -> HttpSchemaDiffContext
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 ComponentContainer<RequestBody> for HttpSchemaDiffContext
impl ComponentContainer<RequestBody> for HttpSchemaDiffContext
fn deref_source(&self, reference: &str) -> Option<&RequestBody>
fn deref_target(&self, reference: &str) -> Option<&RequestBody>
Source§impl ComponentContainer<SecurityScheme> for HttpSchemaDiffContext
impl ComponentContainer<SecurityScheme> for HttpSchemaDiffContext
fn deref_source(&self, reference: &str) -> Option<&SecurityScheme>
fn deref_target(&self, reference: &str) -> Option<&SecurityScheme>
Source§impl Diff<Components, ComponentsDiff, HttpSchemaDiffContext> for Components
impl Diff<Components, ComponentsDiff, HttpSchemaDiffContext> for Components
fn diff( &self, new: Option<&Components>, context: &HttpSchemaDiffContext, ) -> DiffResult<ComponentsDiff>
Source§impl Diff<Contact, ContactDiff, HttpSchemaDiffContext> for Contact
impl Diff<Contact, ContactDiff, HttpSchemaDiffContext> for Contact
fn diff( &self, new: Option<&Contact>, context: &HttpSchemaDiffContext, ) -> DiffResult<ContactDiff>
Source§impl Diff<Discriminator, DiscriminatorDiff, HttpSchemaDiffContext> for Discriminator
impl Diff<Discriminator, DiscriminatorDiff, HttpSchemaDiffContext> for Discriminator
fn diff( &self, new: Option<&Discriminator>, context: &HttpSchemaDiffContext, ) -> DiffResult<DiscriminatorDiff>
Source§impl Diff<Encoding, EncodingDiff, HttpSchemaDiffContext> for Encoding
impl Diff<Encoding, EncodingDiff, HttpSchemaDiffContext> for Encoding
fn diff( &self, new: Option<&Encoding>, context: &HttpSchemaDiffContext, ) -> DiffResult<EncodingDiff>
Source§impl Diff<Example, ExampleDiff, HttpSchemaDiffContext> for Example
impl Diff<Example, ExampleDiff, HttpSchemaDiffContext> for Example
fn diff( &self, new: Option<&Example>, context: &HttpSchemaDiffContext, ) -> DiffResult<ExampleDiff>
Source§impl Diff<ExternalDoc, ExternalDocDiff, HttpSchemaDiffContext> for ExternalDoc
impl Diff<ExternalDoc, ExternalDocDiff, HttpSchemaDiffContext> for ExternalDoc
fn diff( &self, new: Option<&ExternalDoc>, context: &HttpSchemaDiffContext, ) -> DiffResult<ExternalDocDiff>
Source§impl Diff<Header, HeaderDiff, HttpSchemaDiffContext> for Header
impl Diff<Header, HeaderDiff, HttpSchemaDiffContext> for Header
fn diff( &self, new: Option<&Header>, context: &HttpSchemaDiffContext, ) -> DiffResult<HeaderDiff>
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 Diff<Info, InfoDiff, HttpSchemaDiffContext> for Info
impl Diff<Info, InfoDiff, HttpSchemaDiffContext> for Info
fn diff( &self, new: Option<&Info>, context: &HttpSchemaDiffContext, ) -> DiffResult<InfoDiff>
Source§impl Diff<License, LicenseDiff, HttpSchemaDiffContext> for License
impl Diff<License, LicenseDiff, HttpSchemaDiffContext> for License
fn diff( &self, new: Option<&License>, context: &HttpSchemaDiffContext, ) -> DiffResult<LicenseDiff>
Source§impl Diff<Link, LinkDiff, HttpSchemaDiffContext> for Link
impl Diff<Link, LinkDiff, HttpSchemaDiffContext> for Link
fn diff( &self, new: Option<&Link>, context: &HttpSchemaDiffContext, ) -> DiffResult<LinkDiff>
Source§impl Diff<MediaType, MediaTypeDiff, HttpSchemaDiffContext> for MediaType
impl Diff<MediaType, MediaTypeDiff, HttpSchemaDiffContext> for MediaType
fn diff( &self, new: Option<&MediaType>, context: &HttpSchemaDiffContext, ) -> DiffResult<MediaTypeDiff>
Source§impl Diff<OAuthFlow, OAuthFlowDiff, HttpSchemaDiffContext> for OAuthFlow
impl Diff<OAuthFlow, OAuthFlowDiff, HttpSchemaDiffContext> for OAuthFlow
fn diff( &self, new: Option<&OAuthFlow>, context: &HttpSchemaDiffContext, ) -> DiffResult<OAuthFlowDiff>
Source§impl Diff<OAuthFlows, OAuthFlowsDiff, HttpSchemaDiffContext> for OAuthFlows
impl Diff<OAuthFlows, OAuthFlowsDiff, HttpSchemaDiffContext> for OAuthFlows
fn diff( &self, new: Option<&OAuthFlows>, context: &HttpSchemaDiffContext, ) -> DiffResult<OAuthFlowsDiff>
Source§impl Diff<Operation, OperationDiff, HttpSchemaDiffContext> for Operation
impl Diff<Operation, OperationDiff, HttpSchemaDiffContext> for Operation
fn diff( &self, new: Option<&Operation>, context: &HttpSchemaDiffContext, ) -> DiffResult<OperationDiff>
Source§impl Diff<Parameter, ParameterDiff, HttpSchemaDiffContext> for Parameter
impl Diff<Parameter, ParameterDiff, HttpSchemaDiffContext> for Parameter
fn diff( &self, new: Option<&Parameter>, context: &HttpSchemaDiffContext, ) -> DiffResult<ParameterDiff>
Source§impl Diff<Path, PathDiff, HttpSchemaDiffContext> for Path
impl Diff<Path, PathDiff, HttpSchemaDiffContext> for Path
fn diff( &self, new: Option<&Path>, context: &HttpSchemaDiffContext, ) -> DiffResult<PathDiff>
Source§impl Diff<RequestBody, RequestBodyDiff, HttpSchemaDiffContext> for RequestBody
impl Diff<RequestBody, RequestBodyDiff, HttpSchemaDiffContext> for RequestBody
fn diff( &self, new: Option<&RequestBody>, context: &HttpSchemaDiffContext, ) -> DiffResult<RequestBodyDiff>
Source§impl Diff<Response, ResponseDiff, HttpSchemaDiffContext> for Response
impl Diff<Response, ResponseDiff, HttpSchemaDiffContext> for Response
fn diff( &self, new: Option<&Response>, context: &HttpSchemaDiffContext, ) -> DiffResult<ResponseDiff>
Source§impl Diff<Schema, SchemaDiff, HttpSchemaDiffContext> for Schema
impl Diff<Schema, SchemaDiff, HttpSchemaDiffContext> for Schema
fn diff( &self, new: Option<&Schema>, context: &HttpSchemaDiffContext, ) -> DiffResult<SchemaDiff>
Source§impl Diff<SecurityScheme, SecuritySchemeDiff, HttpSchemaDiffContext> for SecurityScheme
impl Diff<SecurityScheme, SecuritySchemeDiff, HttpSchemaDiffContext> for SecurityScheme
fn diff( &self, new: Option<&SecurityScheme>, context: &HttpSchemaDiffContext, ) -> DiffResult<SecuritySchemeDiff>
Source§impl Diff<Server, ServerDiff, HttpSchemaDiffContext> for Server
impl Diff<Server, ServerDiff, HttpSchemaDiffContext> for Server
fn diff( &self, new: Option<&Server>, context: &HttpSchemaDiffContext, ) -> DiffResult<ServerDiff>
Source§impl Diff<ServerVariable, ServerVariableDiff, HttpSchemaDiffContext> for ServerVariable
impl Diff<ServerVariable, ServerVariableDiff, HttpSchemaDiffContext> for ServerVariable
fn diff( &self, new: Option<&ServerVariable>, context: &HttpSchemaDiffContext, ) -> DiffResult<ServerVariableDiff>
Source§impl Diff<Tag, TagDiff, HttpSchemaDiffContext> for Tag
impl Diff<Tag, TagDiff, HttpSchemaDiffContext> for Tag
fn diff( &self, new: Option<&Tag>, context: &HttpSchemaDiffContext, ) -> DiffResult<TagDiff>
Source§impl Diff<Xml, XmlDiff, HttpSchemaDiffContext> for Xml
impl Diff<Xml, XmlDiff, HttpSchemaDiffContext> for Xml
fn diff( &self, new: Option<&Xml>, context: &HttpSchemaDiffContext, ) -> DiffResult<XmlDiff>
Source§impl DiffCache<ExampleDiff> for HttpSchemaDiffContext
impl DiffCache<ExampleDiff> for HttpSchemaDiffContext
fn get_diff(&self, reference: &str) -> Option<Arc<DiffResult<ExampleDiff>>>
fn set_diff(&self, reference: &str, component: Arc<DiffResult<ExampleDiff>>)
Source§impl DiffCache<HeaderDiff> for HttpSchemaDiffContext
impl DiffCache<HeaderDiff> for HttpSchemaDiffContext
fn get_diff(&self, reference: &str) -> Option<Arc<DiffResult<HeaderDiff>>>
fn set_diff(&self, reference: &str, component: Arc<DiffResult<HeaderDiff>>)
Source§impl DiffCache<LinkDiff> for HttpSchemaDiffContext
impl DiffCache<LinkDiff> for HttpSchemaDiffContext
Source§impl DiffCache<ParameterDiff> for HttpSchemaDiffContext
impl DiffCache<ParameterDiff> for HttpSchemaDiffContext
fn get_diff(&self, reference: &str) -> Option<Arc<DiffResult<ParameterDiff>>>
fn set_diff(&self, reference: &str, component: Arc<DiffResult<ParameterDiff>>)
Source§impl DiffCache<PathDiff> for HttpSchemaDiffContext
impl DiffCache<PathDiff> for HttpSchemaDiffContext
Source§impl DiffCache<RequestBodyDiff> for HttpSchemaDiffContext
impl DiffCache<RequestBodyDiff> for HttpSchemaDiffContext
fn get_diff(&self, reference: &str) -> Option<Arc<DiffResult<RequestBodyDiff>>>
fn set_diff(&self, reference: &str, component: Arc<DiffResult<RequestBodyDiff>>)
Source§impl DiffCache<ResponseDiff> for HttpSchemaDiffContext
impl DiffCache<ResponseDiff> for HttpSchemaDiffContext
fn get_diff(&self, reference: &str) -> Option<Arc<DiffResult<ResponseDiff>>>
fn set_diff(&self, reference: &str, component: Arc<DiffResult<ResponseDiff>>)
Source§impl DiffCache<SchemaDiff> for HttpSchemaDiffContext
impl DiffCache<SchemaDiff> for HttpSchemaDiffContext
fn get_diff(&self, reference: &str) -> Option<Arc<DiffResult<SchemaDiff>>>
fn set_diff(&self, reference: &str, component: Arc<DiffResult<SchemaDiff>>)
Source§impl DiffCache<SecuritySchemeDiff> for HttpSchemaDiffContext
impl DiffCache<SecuritySchemeDiff> for HttpSchemaDiffContext
fn get_diff( &self, reference: &str, ) -> Option<Arc<DiffResult<SecuritySchemeDiff>>>
fn set_diff( &self, reference: &str, component: Arc<DiffResult<SecuritySchemeDiff>>, )
Source§impl DiffCache<Value> for HttpSchemaDiffContext
impl DiffCache<Value> for HttpSchemaDiffContext
Source§impl DiffContext for HttpSchemaDiffContext
impl DiffContext for HttpSchemaDiffContext
fn removing(&self) -> HttpSchemaDiffContext
fn switch_flow(&self) -> HttpSchemaDiffContext
fn is_direct_flow(&self) -> bool
fn add_visited_reference_source(&self, reference: &str) -> Self
fn check_visited_reference_source(&self, reference: &str) -> usize
fn add_visited_reference_target(&self, reference: &str) -> Self
fn check_visited_reference_target(&self, reference: &str) -> usize
Auto Trait Implementations§
impl Freeze for HttpSchemaDiffContext
impl !RefUnwindSafe for HttpSchemaDiffContext
impl !Send for HttpSchemaDiffContext
impl !Sync for HttpSchemaDiffContext
impl Unpin for HttpSchemaDiffContext
impl !UnwindSafe for HttpSchemaDiffContext
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