pub struct DistConfig<'a> {
pub target_dir: &'a str,
pub dist_dir: &'a str,
pub binaries: Vec<&'a str>,
pub clear_dist: bool,
pub overwrite: bool,
pub dry_run: bool,
}Expand description
Struktura konfiguracyjna do zarządzania dystrybucją (Wzorzec: Parameter Object).
Fields§
§target_dir: &'a str§dist_dir: &'a str§binaries: Vec<&'a str>Lista nazw binarek (bez rozszerzeń). Jeśli pusta - kopiuje wszystkie odnalezione binarki.
clear_dist: bool§overwrite: bool§dry_run: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DistConfig<'a>
impl<'a> RefUnwindSafe for DistConfig<'a>
impl<'a> Send for DistConfig<'a>
impl<'a> Sync for DistConfig<'a>
impl<'a> Unpin for DistConfig<'a>
impl<'a> UnsafeUnpin for DistConfig<'a>
impl<'a> UnwindSafe for DistConfig<'a>
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