pub struct UpgradeResult {
pub plugin_name: String,
pub from_version: String,
pub to_version: String,
pub success: bool,
pub backup_path: Option<PathBuf>,
pub error: Option<String>,
}Expand description
Upgrade result
Fields§
§plugin_name: StringPlugin name
from_version: StringPrevious version
to_version: StringNew version
success: boolWhether upgrade was successful
backup_path: Option<PathBuf>Backup path (if backup was created)
error: Option<String>Error message (if failed)
Implementations§
Source§impl UpgradeResult
impl UpgradeResult
Trait Implementations§
Source§impl Clone for UpgradeResult
impl Clone for UpgradeResult
Source§fn clone(&self) -> UpgradeResult
fn clone(&self) -> UpgradeResult
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 UpgradeResult
impl Debug for UpgradeResult
Source§impl<'de> Deserialize<'de> for UpgradeResult
impl<'de> Deserialize<'de> for UpgradeResult
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 UpgradeResult
impl RefUnwindSafe for UpgradeResult
impl Send for UpgradeResult
impl Sync for UpgradeResult
impl Unpin for UpgradeResult
impl UnsafeUnpin for UpgradeResult
impl UnwindSafe for UpgradeResult
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