Enum puppetfile::ModuleInfo [] [src]

pub enum ModuleInfo {
    Version(VersionReq),
    Info(String, String),
}

Further Information on Puppet Modules

Variants

Version

Version as String

Info

Key Value based Information

Methods

impl ModuleInfo

fn is_version(&self) -> bool

Returns true if the option is a Version value

Trait Implementations

impl Display for ModuleInfo

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

Derived Implementations

impl Debug for ModuleInfo

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

impl Clone for ModuleInfo

fn clone(&self) -> ModuleInfo

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

impl PartialEq for ModuleInfo

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

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