pub struct RepoModel {
pub workspace_kind: WorkspaceKind,
pub crates: Vec<CrateFacts>,
pub edition: String,
pub toolchain: ToolchainFacts,
pub async_model: AsyncModel,
pub error_style: ErrorStyle,
pub logging_style: LoggingStyle,
pub test_style: TestStyle,
pub cli_style: CliStyle,
pub dependency_policy: DependencyPolicy,
pub public_api_boundaries: Vec<ApiBoundary>,
pub read_order: Vec<RepoPath>,
}Expand description
The repository model built before planning.
Fields§
§workspace_kind: WorkspaceKindWhether the repository is a single crate or a workspace.
crates: Vec<CrateFacts>Facts for discovered crates.
edition: StringThe default edition inferred from the root or first crate.
toolchain: ToolchainFactsToolchain and CI facts discovered at the root.
async_model: AsyncModelThe inferred async runtime posture.
error_style: ErrorStyleThe inferred error handling style.
logging_style: LoggingStyleThe inferred logging style.
test_style: TestStyleThe inferred test style.
cli_style: CliStyleThe inferred CLI style.
dependency_policy: DependencyPolicyThe repository stance on dependency changes.
public_api_boundaries: Vec<ApiBoundary>Public API boundaries that should constrain planning.
read_order: Vec<RepoPath>Files read in the prescribed discovery order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RepoModel
impl<'de> Deserialize<'de> for RepoModel
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 RepoModel
impl StructuralPartialEq for RepoModel
Auto Trait Implementations§
impl Freeze for RepoModel
impl RefUnwindSafe for RepoModel
impl Send for RepoModel
impl Sync for RepoModel
impl Unpin for RepoModel
impl UnsafeUnpin for RepoModel
impl UnwindSafe for RepoModel
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<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.