pub struct PreInstall {
pub file: String,
pub component_id: Option<String>,
}
Expand description
A script to run before install.
Fields§
§file: String
Name of script to run.
component_id: Option<String>
ID of bundle element to run before.
Trait Implementations§
Source§impl Clone for PreInstall
impl Clone for PreInstall
Source§fn clone(&self) -> PreInstall
fn clone(&self) -> PreInstall
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 PreInstall
impl Debug for PreInstall
Source§impl<'de> Deserialize<'de> for PreInstall
impl<'de> Deserialize<'de> for PreInstall
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 PreInstall
impl PartialEq for PreInstall
Source§impl Serialize for PreInstall
impl Serialize for PreInstall
impl Eq for PreInstall
impl StructuralPartialEq for PreInstall
Auto Trait Implementations§
impl Freeze for PreInstall
impl RefUnwindSafe for PreInstall
impl Send for PreInstall
impl Sync for PreInstall
impl Unpin for PreInstall
impl UnwindSafe for PreInstall
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)