pub struct InstallState {
pub installed: Option<bool>,
pub tool: Option<String>,
}Fields§
§installed: Option<bool>Installed is its activation after the write.
tool: Option<String>Tool is the capability the write applied to.
Implementations§
Source§impl InstallState
impl InstallState
pub fn new() -> InstallState
Trait Implementations§
Source§impl Clone for InstallState
impl Clone for InstallState
Source§fn clone(&self) -> InstallState
fn clone(&self) -> InstallState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstallState
impl Debug for InstallState
Source§impl Default for InstallState
impl Default for InstallState
Source§fn default() -> InstallState
fn default() -> InstallState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstallState
impl<'de> Deserialize<'de> for InstallState
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 InstallState
impl PartialEq for InstallState
Source§impl Serialize for InstallState
impl Serialize for InstallState
impl StructuralPartialEq for InstallState
Auto Trait Implementations§
impl Freeze for InstallState
impl RefUnwindSafe for InstallState
impl Send for InstallState
impl Sync for InstallState
impl Unpin for InstallState
impl UnsafeUnpin for InstallState
impl UnwindSafe for InstallState
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