Struct proto_pdk_api::NativeUninstallOutput
source · pub struct NativeUninstallOutput {
pub error: Option<String>,
pub uninstalled: bool,
pub skip_uninstall: bool,
}
Expand description
Output returned by the native_uninstall
function.
Fields§
§error: Option<String>
Error message if the uninstall failed.
uninstalled: bool
Whether the install was successful.
skip_uninstall: bool
Whether to skip the uninstall process or not.
Trait Implementations§
source§impl Clone for NativeUninstallOutput
impl Clone for NativeUninstallOutput
source§fn clone(&self) -> NativeUninstallOutput
fn clone(&self) -> NativeUninstallOutput
Returns a copy 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 NativeUninstallOutput
impl Debug for NativeUninstallOutput
source§impl Default for NativeUninstallOutput
impl Default for NativeUninstallOutput
source§fn default() -> NativeUninstallOutput
fn default() -> NativeUninstallOutput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NativeUninstallOutputwhere
NativeUninstallOutput: Default,
impl<'de> Deserialize<'de> for NativeUninstallOutputwhere
NativeUninstallOutput: Default,
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
source§impl PartialEq for NativeUninstallOutput
impl PartialEq for NativeUninstallOutput
source§fn eq(&self, other: &NativeUninstallOutput) -> bool
fn eq(&self, other: &NativeUninstallOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NativeUninstallOutput
impl Serialize for NativeUninstallOutput
impl StructuralPartialEq for NativeUninstallOutput
Auto Trait Implementations§
impl Freeze for NativeUninstallOutput
impl RefUnwindSafe for NativeUninstallOutput
impl Send for NativeUninstallOutput
impl Sync for NativeUninstallOutput
impl Unpin for NativeUninstallOutput
impl UnwindSafe for NativeUninstallOutput
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