Struct puppetfile::Puppetfile [] [src]

pub struct Puppetfile {
    pub forge: String,
    pub modules: Vec<Module>,
}

This represents a Puppetfile

Fields

forge

The forge URL

modules

All Modules contained in the Puppetfile

Methods

impl Puppetfile

fn parse(contents: &str) -> Result<Puppetfile, PuppetfileError>

Try parsing the contents of a Puppetfile into a Puppetfile struct

Trait Implementations

impl Display for Puppetfile

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for Puppetfile

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Puppetfile

fn clone(&self) -> Puppetfile

1.0.0fn clone_from(&mut self, source: &Self)

impl PartialEq for Puppetfile

fn eq(&self, __arg_0: &Puppetfile) -> bool

fn ne(&self, __arg_0: &Puppetfile) -> bool