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