pub struct RunbookEntry {
pub command: String,
pub cwd: String,
pub timestamp: String,
pub git_root: Option<String>,
}Expand description
Une entrée du runbook : une commande avec son contexte minimal.
Fields§
§command: StringCommande shell (toujours non vide après filtrage).
cwd: StringRépertoire de travail au moment de l’exécution (raccourci ~/…).
timestamp: StringHorodatage de la commande (YYYY-MM-DD HH:MM:SS).
git_root: Option<String>Racine Git (git_root), utilisée pour le groupement par projet.
Trait Implementations§
Source§impl Clone for RunbookEntry
impl Clone for RunbookEntry
Source§fn clone(&self) -> RunbookEntry
fn clone(&self) -> RunbookEntry
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 moreAuto Trait Implementations§
impl Freeze for RunbookEntry
impl RefUnwindSafe for RunbookEntry
impl Send for RunbookEntry
impl Sync for RunbookEntry
impl Unpin for RunbookEntry
impl UnsafeUnpin for RunbookEntry
impl UnwindSafe for RunbookEntry
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§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