Struct tauri_bundler::bundle::DebianSettings
source · [−]pub struct DebianSettings {
pub depends: Option<Vec<String>>,
pub use_bootstrapper: Option<bool>,
pub files: HashMap<PathBuf, PathBuf>,
}
Expand description
The Linux debian bundle settings.
Fields
depends: Option<Vec<String>>
the list of debian dependencies.
use_bootstrapper: Option<bool>
whether we should use the bootstrap script on debian or not.
this script goal is to allow your app to access environment variables e.g $PATH.
without it, you can’t run some applications installed by the user.
files: HashMap<PathBuf, PathBuf>
List of custom files to add to the deb package. Maps the path on the debian package to the path of the file to include (relative to the current working directory).
Trait Implementations
sourceimpl Clone for DebianSettings
impl Clone for DebianSettings
sourcefn clone(&self) -> DebianSettings
fn clone(&self) -> DebianSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DebianSettings
impl Debug for DebianSettings
sourceimpl Default for DebianSettings
impl Default for DebianSettings
sourcefn default() -> DebianSettings
fn default() -> DebianSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DebianSettings
impl Send for DebianSettings
impl Sync for DebianSettings
impl Unpin for DebianSettings
impl UnwindSafe for DebianSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more