pub struct UpdatePlan {
pub kind: PlanKind,
pub from_version: String,
pub to_version: String,
pub post_action: PostAction,
}Expand description
A complete update plan describing what to do and how.
Fields§
§kind: PlanKind§from_version: String§to_version: String§post_action: PostActionTrait Implementations§
Source§impl Clone for UpdatePlan
impl Clone for UpdatePlan
Source§fn clone(&self) -> UpdatePlan
fn clone(&self) -> UpdatePlan
Returns a duplicate 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 UpdatePlan
impl Debug for UpdatePlan
Source§impl<'de> Deserialize<'de> for UpdatePlan
impl<'de> Deserialize<'de> for UpdatePlan
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 UpdatePlan
impl RefUnwindSafe for UpdatePlan
impl Send for UpdatePlan
impl Sync for UpdatePlan
impl Unpin for UpdatePlan
impl UnsafeUnpin for UpdatePlan
impl UnwindSafe for UpdatePlan
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