#[non_exhaustive]pub struct TypeChange {
pub path: String,
pub baseline_type: String,
pub current_type: String,
}Expand description
A single field type change between baseline and current.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: StringDot-separated field path.
baseline_type: StringType in the baseline.
current_type: StringType in the current response.
Trait Implementations§
Source§impl Clone for TypeChange
impl Clone for TypeChange
Source§impl Debug for TypeChange
impl Debug for TypeChange
Auto Trait Implementations§
impl Freeze for TypeChange
impl RefUnwindSafe for TypeChange
impl Send for TypeChange
impl Sync for TypeChange
impl Unpin for TypeChange
impl UnsafeUnpin for TypeChange
impl UnwindSafe for TypeChange
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