pub struct CodeWorkspaceDetectionConfig {
pub enabled: bool,
pub supported_formats: Vec<CodeMonorepoWorkspaceFormat>,
}Expand description
Configuration controlling automated monorepo workspace detection.
Fields§
§enabled: boolWhether automatic workspace detection is active.
supported_formats: Vec<CodeMonorepoWorkspaceFormat>Workspace manifest formats that the detector should look for.
Implementations§
Source§impl CodeWorkspaceDetectionConfig
impl CodeWorkspaceDetectionConfig
Sourcepub fn disabled() -> Self
pub fn disabled() -> Self
Returns a disabled configuration that still records the supported formats to use when callers opt in.
Sourcepub fn enabled_all() -> Self
pub fn enabled_all() -> Self
Enables workspace detection for every supported manifest format.
Trait Implementations§
Source§impl Clone for CodeWorkspaceDetectionConfig
impl Clone for CodeWorkspaceDetectionConfig
Source§fn clone(&self) -> CodeWorkspaceDetectionConfig
fn clone(&self) -> CodeWorkspaceDetectionConfig
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 CodeWorkspaceDetectionConfig
impl Debug for CodeWorkspaceDetectionConfig
Source§impl<'de> Deserialize<'de> for CodeWorkspaceDetectionConfig
impl<'de> Deserialize<'de> for CodeWorkspaceDetectionConfig
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
impl Eq for CodeWorkspaceDetectionConfig
impl StructuralPartialEq for CodeWorkspaceDetectionConfig
Auto Trait Implementations§
impl Freeze for CodeWorkspaceDetectionConfig
impl RefUnwindSafe for CodeWorkspaceDetectionConfig
impl Send for CodeWorkspaceDetectionConfig
impl Sync for CodeWorkspaceDetectionConfig
impl Unpin for CodeWorkspaceDetectionConfig
impl UnsafeUnpin for CodeWorkspaceDetectionConfig
impl UnwindSafe for CodeWorkspaceDetectionConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<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.