pub struct InfoDiff {
pub title: DiffResult<String>,
pub description: DiffResult<String>,
pub terms_of_service: DiffResult<String>,
pub contact: DiffResult<ContactDiff>,
pub license: DiffResult<LicenseDiff>,
pub version: DiffResult<String>,
}
Fields§
§title: DiffResult<String>
§description: DiffResult<String>
§terms_of_service: DiffResult<String>
§contact: DiffResult<ContactDiff>
§license: DiffResult<LicenseDiff>
§version: DiffResult<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InfoDiff
impl<'de> Deserialize<'de> for InfoDiff
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<Info, InfoDiff, HttpSchemaDiffContext> for Info
impl Diff<Info, InfoDiff, HttpSchemaDiffContext> for Info
fn diff( &self, new: Option<&Info>, context: &HttpSchemaDiffContext, ) -> DiffResult<InfoDiff>
Source§impl DiffOwnChanges for InfoDiff
impl DiffOwnChanges for InfoDiff
fn get_own_changes(&self) -> Vec<(Cow<'_, str>, DiffResultType)>
Auto Trait Implementations§
impl Freeze for InfoDiff
impl RefUnwindSafe for InfoDiff
impl Send for InfoDiff
impl Sync for InfoDiff
impl Unpin for InfoDiff
impl UnwindSafe for InfoDiff
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