pub struct LayerGit {
pub name: Option<String>,
pub playbook: Option<String>,
pub git: Git,
pub special_parameters: Option<SpecialParameters>,
}Expand description
A CFS configuration layer sourced from a Git repo.
Fields§
§name: Option<String>Optional human-friendly name for this layer; defaults to a CFS-generated identifier when absent.
playbook: Option<String>Optional Ansible playbook filename within the layer’s repo;
CFS uses site.yml when absent.
git: GitGit pin (commit / branch / tag).
special_parameters: Option<SpecialParameters>Layer-specific knobs such as DKMS requirements.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LayerGit
impl<'de> Deserialize<'de> for LayerGit
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 LayerGit
impl RefUnwindSafe for LayerGit
impl Send for LayerGit
impl Sync for LayerGit
impl Unpin for LayerGit
impl UnsafeUnpin for LayerGit
impl UnwindSafe for LayerGit
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