pub struct VcsControlDirectoryAccessDependency {
pub vcs: Vec<String>,
}Expand description
Dependency for accessing VCS control directories.
This represents a dependency on access to VCS control directories like .git, .svn, etc., which might be needed by certain build processes.
Fields§
§vcs: Vec<String>List of affected version control systems (e.g., “git”, “svn”)
Implementations§
Trait Implementations§
Source§impl Clone for VcsControlDirectoryAccessDependency
impl Clone for VcsControlDirectoryAccessDependency
Source§fn clone(&self) -> VcsControlDirectoryAccessDependency
fn clone(&self) -> VcsControlDirectoryAccessDependency
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 Dependency for VcsControlDirectoryAccessDependency
impl Dependency for VcsControlDirectoryAccessDependency
Source§fn family(&self) -> &'static str
fn family(&self) -> &'static str
Get the family of this dependency (e.g., “apt”, “pip”, etc.). Read more
Source§fn project_present(&self, session: &dyn Session) -> bool
fn project_present(&self, session: &dyn Session) -> bool
Check whether the dependency is present in the project.
Source§impl<'de> Deserialize<'de> for VcsControlDirectoryAccessDependency
impl<'de> Deserialize<'de> for VcsControlDirectoryAccessDependency
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VcsControlDirectoryAccessDependency
impl RefUnwindSafe for VcsControlDirectoryAccessDependency
impl Send for VcsControlDirectoryAccessDependency
impl Sync for VcsControlDirectoryAccessDependency
impl Unpin for VcsControlDirectoryAccessDependency
impl UnsafeUnpin for VcsControlDirectoryAccessDependency
impl UnwindSafe for VcsControlDirectoryAccessDependency
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreimpl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.