pub struct Configuration {
pub tech: String,
pub forge: String,
pub repo: String,
pub workflow: String,
pub style: Option<String>,
pub nix: bool,
pub trunk: String,
pub line_prefix: String,
pub security_contact: String,
pub security_response: String,
pub sources: BTreeMap<String, String>,
pub evidence_refs: Vec<String>,
}Expand description
The landing parameters, resolved, with the layer each one came from.
Fields§
§tech: StringThe payload binding.
forge: StringThe forge.
repo: StringThe project path on the forge.
workflow: StringThe working-copy mode.
style: Option<String>The release style, where one is answered.
nix: boolWhether the landing carries the Nix capability.
trunk: StringThe one permanent branch.
line_prefix: StringThe release-line prefix.
security_contact: StringThe security contact the policy names, empty for the forge’s own.
security_response: StringThe acknowledgment window the policy promises.
sources: BTreeMap<String, String>Which layer answered each parameter: flag, configuration,
record, detected, or default.
evidence_refs: Vec<String>The evidence the resolution read.
Trait Implementations§
Source§impl Clone for Configuration
impl Clone for Configuration
Source§fn clone(&self) -> Configuration
fn clone(&self) -> Configuration
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 Configuration
impl Debug for Configuration
Source§impl<'de> Deserialize<'de> for Configuration
impl<'de> Deserialize<'de> for Configuration
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 Configuration
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnsafeUnpin for Configuration
impl UnwindSafe for Configuration
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