Struct proto_pdk_api::UninstallGlobalOutput
source · pub struct UninstallGlobalOutput {
pub uninstalled: bool,
pub error: Option<String>,
}Expand description
Output returned by the uninstall_global function.
Fields§
§uninstalled: boolWhether the uninstall was successful.
error: Option<String>Error message if the uninstall failed.
Implementations§
source§impl UninstallGlobalOutput
impl UninstallGlobalOutput
pub fn from_exec_command(result: ExecCommandOutput) -> Self
Trait Implementations§
source§impl Clone for UninstallGlobalOutput
impl Clone for UninstallGlobalOutput
source§fn clone(&self) -> UninstallGlobalOutput
fn clone(&self) -> UninstallGlobalOutput
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 UninstallGlobalOutput
impl Debug for UninstallGlobalOutput
source§impl Default for UninstallGlobalOutput
impl Default for UninstallGlobalOutput
source§fn default() -> UninstallGlobalOutput
fn default() -> UninstallGlobalOutput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UninstallGlobalOutputwhere
UninstallGlobalOutput: Default,
impl<'de> Deserialize<'de> for UninstallGlobalOutputwhere
UninstallGlobalOutput: 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 UninstallGlobalOutput
impl PartialEq for UninstallGlobalOutput
source§fn eq(&self, other: &UninstallGlobalOutput) -> bool
fn eq(&self, other: &UninstallGlobalOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UninstallGlobalOutput
impl Serialize for UninstallGlobalOutput
impl Eq for UninstallGlobalOutput
impl StructuralEq for UninstallGlobalOutput
impl StructuralPartialEq for UninstallGlobalOutput
Auto Trait Implementations§
impl RefUnwindSafe for UninstallGlobalOutput
impl Send for UninstallGlobalOutput
impl Sync for UninstallGlobalOutput
impl Unpin for UninstallGlobalOutput
impl UnwindSafe for UninstallGlobalOutput
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