Docs.rs
  • schemadoc-diff-0.1.20
    • schemadoc-diff 0.1.20
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • dbukhta
    • Dependencies
      • auto_impl ^1.0.1 normal
      • chrono ^0.4 normal
      • indexmap ^1.8.1 normal
      • once_cell ^1 normal
      • regex ^1 normal
      • schemadoc-diff-derive ^0.1.0 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • serde_path_to_error ^0.1 normal
      • thiserror ^1 normal
      • tracing ^0.1 normal
    • Versions
    • 0.5% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

schemadoc_diff0.1.20

DiffCache

Required Methods

  • get_diff
  • set_diff

Implementors

In schemadoc_diff::core

schemadoc_diff::core

Trait DiffCache

Source
pub trait DiffCache<O> {
    // Required methods
    fn get_diff(&self, reference: &str) -> Option<Arc<DiffResult<O>>>;
    fn set_diff(&self, reference: &str, component: Arc<DiffResult<O>>);
}

Required Methods§

Source

fn get_diff(&self, reference: &str) -> Option<Arc<DiffResult<O>>>

Source

fn set_diff(&self, reference: &str, component: Arc<DiffResult<O>>)

Implementors§

Source§

impl DiffCache<Value> for HttpSchemaDiffContext

Source§

impl DiffCache<ExampleDiff> for HttpSchemaDiffContext

Source§

impl DiffCache<HeaderDiff> for HttpSchemaDiffContext

Source§

impl DiffCache<LinkDiff> for HttpSchemaDiffContext

Source§

impl DiffCache<ParameterDiff> for HttpSchemaDiffContext

Source§

impl DiffCache<PathDiff> for HttpSchemaDiffContext

Source§

impl DiffCache<RequestBodyDiff> for HttpSchemaDiffContext

Source§

impl DiffCache<ResponseDiff> for HttpSchemaDiffContext

Source§

impl DiffCache<SchemaDiff> for HttpSchemaDiffContext

Source§

impl DiffCache<SecuritySchemeDiff> for HttpSchemaDiffContext