Struct dotfiles_actions::apt::action::AptAction
source · pub struct AptAction<'a> { /* private fields */ }
Expand description
AptAction Installs software using apt.
Implementations§
Trait Implementations§
source§impl<'a> ConditionalAction<'a> for AptAction<'a>
impl<'a> ConditionalAction<'a> for AptAction<'a>
source§fn skip_in_ci(&self) -> bool
fn skip_in_ci(&self) -> bool
Whether to skip this action in Continuous Integration environments. Read more
§fn check_conditions_and_execute(&self) -> Result<(), DotfilesError>
fn check_conditions_and_execute(&self) -> Result<(), DotfilesError>
Checks that the conditions allow for executing this action, and if so executes it according to
[execute(&self)]. Read more
source§impl<'a> PartialEq for AptAction<'a>
impl<'a> PartialEq for AptAction<'a>
impl<'a> Eq for AptAction<'a>
impl<'a> StructuralPartialEq for AptAction<'a>
Auto Trait Implementations§
impl<'a> Freeze for AptAction<'a>
impl<'a> RefUnwindSafe for AptAction<'a>
impl<'a> Send for AptAction<'a>
impl<'a> Sync for AptAction<'a>
impl<'a> Unpin for AptAction<'a>
impl<'a> UnwindSafe for AptAction<'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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more