pub struct ProfileDiff {
pub url: String,
pub name: String,
pub title: Option<String>,
pub type_name: String,
pub status: Status,
pub old_version: Option<String>,
pub new_version: Option<String>,
pub file: String,
pub changes: Vec<Change>,
}Expand description
The changes of one profile.
Fields§
§url: String§name: String§title: Option<String>§type_name: String§status: Status§old_version: Option<String>§new_version: Option<String>§file: StringFile in the new package (the old one for a removed profile).
changes: Vec<Change>Implementations§
Trait Implementations§
Source§impl Clone for ProfileDiff
impl Clone for ProfileDiff
Source§impl Debug for ProfileDiff
impl Debug for ProfileDiff
Auto Trait Implementations§
impl Freeze for ProfileDiff
impl RefUnwindSafe for ProfileDiff
impl Send for ProfileDiff
impl Sync for ProfileDiff
impl Unpin for ProfileDiff
impl UnsafeUnpin for ProfileDiff
impl UnwindSafe for ProfileDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more