Struct cfn_guard::ParseTreeBuilder
source · pub struct ParseTreeBuilder { /* private fields */ }
Expand description
.
A builder to help construct the ParseTree
command
Implementations§
source§impl ParseTreeBuilder
impl ParseTreeBuilder
sourcepub fn output(self, output: Option<String>) -> Self
pub fn output(self, output: Option<String>) -> Self
path to the output file where the parse tree will be printed to
sourcepub fn print_json(self, arg: bool) -> Self
pub fn print_json(self, arg: bool) -> Self
print parse tree in JSON format
sourcepub fn print_yaml(self, arg: bool) -> Self
pub fn print_yaml(self, arg: bool) -> Self
print parse tree in YAML format
Trait Implementations§
source§impl CommandBuilder<ParseTree> for ParseTreeBuilder
impl CommandBuilder<ParseTree> for ParseTreeBuilder
source§impl Debug for ParseTreeBuilder
impl Debug for ParseTreeBuilder
source§impl Default for ParseTreeBuilder
impl Default for ParseTreeBuilder
source§fn default() -> ParseTreeBuilder
fn default() -> ParseTreeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseTreeBuilder
impl RefUnwindSafe for ParseTreeBuilder
impl Send for ParseTreeBuilder
impl Sync for ParseTreeBuilder
impl Unpin for ParseTreeBuilder
impl UnwindSafe for ParseTreeBuilder
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