pub struct Config {
pub schema_version: i64,
pub migration: Option<String>,
pub project: Project,
pub profile: Profile,
pub git: Git,
pub capabilities: Capabilities,
pub security: Security,
pub setup: Setup,
pub protection: Protection,
pub acquisition: Option<Acquisition>,
pub dev_environment: Option<DevEnvironment>,
}Expand description
Per-target answers; an omitted table uses its compiled defaults.
Fields§
§schema_version: i64Version of the authored configuration shape.
migration: Option<String>N: the open migration’s identifier, which rk migrate archive
sets and rk migrate close removes. Absent while none is open, so
a closed migration leaves the file a greenfield landing writes.
project: ProjectProject identity.
profile: ProfileWhat the project is.
git: GitHow topic branches reach the trunk.
capabilities: CapabilitiesWhich optional products the target requests.
security: SecurityReport-routing facts and the two policy answers.
setup: SetupForge setup inputs and the setup declaration.
protection: ProtectionNames and floored policy.
acquisition: Option<Acquisition>How every host obtains rk, where no manager file pins it.
dev_environment: Option<DevEnvironment>How a command runs in the project’s own development environment.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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 Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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<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.