pub struct ExampleDiff {
pub summary: DiffResult<String>,
pub description: DiffResult<String>,
pub value: DiffResult<Value>,
pub external_value: DiffResult<String>,
}
Fields§
§summary: DiffResult<String>
§description: DiffResult<String>
§value: DiffResult<Value>
§external_value: DiffResult<String>
Trait Implementations§
Source§impl Clone for ExampleDiff
impl Clone for ExampleDiff
Source§fn clone(&self) -> ExampleDiff
fn clone(&self) -> ExampleDiff
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 ExampleDiff
impl Debug for ExampleDiff
Source§impl<'de> Deserialize<'de> for ExampleDiff
impl<'de> Deserialize<'de> for ExampleDiff
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<Example, ExampleDiff, HttpSchemaDiffContext> for Example
impl Diff<Example, ExampleDiff, HttpSchemaDiffContext> for Example
fn diff( &self, new: Option<&Example>, context: &HttpSchemaDiffContext, ) -> DiffResult<ExampleDiff>
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 DiffOwnChanges for ExampleDiff
impl DiffOwnChanges for ExampleDiff
fn get_own_changes(&self) -> Vec<(Cow<'_, str>, DiffResultType)>
Source§impl Serialize for ExampleDiff
impl Serialize for ExampleDiff
impl Referencable for ExampleDiff
Auto Trait Implementations§
impl Freeze for ExampleDiff
impl RefUnwindSafe for ExampleDiff
impl Send for ExampleDiff
impl Sync for ExampleDiff
impl Unpin for ExampleDiff
impl UnwindSafe for ExampleDiff
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