pub struct Transition {
pub title: Option<String>,
pub is_good: Option<Expr>,
pub is_bad: Option<Expr>,
pub is_affected: Option<Expr>,
pub notes: Option<String>,
pub export: Option<bool>,
}Expand description
A transition
Fields§
§title: Option<String>The title of the transition
is_good: Option<Expr>Expression to check if the transition has been applied
is_bad: Option<Expr>Expression to check if the transition has not been applied
is_affected: Option<Expr>Expression to check if a package is involved in the transition
notes: Option<String>Notes about the transition
export: Option<bool>Whether to export the transition
Trait Implementations§
Source§impl Debug for Transition
impl Debug for Transition
Source§impl Default for Transition
impl Default for Transition
Source§fn default() -> Transition
fn default() -> Transition
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Transition
impl RefUnwindSafe for Transition
impl Send for Transition
impl Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more