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