pub struct AddedProgram {
pub program_name: String,
pub kind: String,
pub source_path: PathBuf,
pub manifest_updated: bool,
}Available on crate feature
module only.Fields§
§program_name: String§kind: StringDerived from program_name by stripping the module’s own
asimov-<module>- prefix when it’s known (from the module’s own
Cargo.toml), falling back to the last hyphen segment otherwise.
Never validated against any fixed list of kinds — any word is
accepted.
source_path: PathBuf§manifest_updated: boolfalse if .asimov/module.yaml was missing or not in the expected
shape, in which case it was left untouched.
Trait Implementations§
Source§impl Clone for AddedProgram
impl Clone for AddedProgram
Source§fn clone(&self) -> AddedProgram
fn clone(&self) -> AddedProgram
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 moreSource§impl Debug for AddedProgram
impl Debug for AddedProgram
impl Eq for AddedProgram
Source§impl PartialEq for AddedProgram
impl PartialEq for AddedProgram
impl StructuralPartialEq for AddedProgram
Auto Trait Implementations§
impl Freeze for AddedProgram
impl RefUnwindSafe for AddedProgram
impl Send for AddedProgram
impl Sync for AddedProgram
impl Unpin for AddedProgram
impl UnsafeUnpin for AddedProgram
impl UnwindSafe for AddedProgram
Blanket Implementations§
impl<T> Any for Twhere
T: Any,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
impl<T> CloneAnySend for T
impl<T> CloneAnySendSync for T
impl<T> CloneAnySync for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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