pub struct Diff {
pub id: Option<String>,
pub title: Option<String>,
pub public_url: Option<String>,
pub breaking: Option<bool>,
pub details: Option<Vec<DiffItem>>,
pub previous_version_url: Option<String>,
pub current_version_url: Option<String>,
}
Fields§
§id: Option<String>
Unique id of your diff
title: Option<String>
The title of the last parsed definition
public_url: Option<String>
The public URL of your diff
breaking: Option<bool>
Identifies if the diff includes breaking changes
details: Option<Vec<DiffItem>>
Details of each change as a list of diff items
previous_version_url: Option<String>
URL of previous version specification, in JSON format
current_version_url: Option<String>
URL of current version specification, in JSON format
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Diff
impl<'de> Deserialize<'de> for Diff
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
Auto Trait Implementations§
impl Freeze for Diff
impl RefUnwindSafe for Diff
impl Send for Diff
impl Sync for Diff
impl Unpin for Diff
impl UnwindSafe for Diff
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