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