Struct cfn_guard::TestBuilder
source · pub struct TestBuilder { /* private fields */ }
Expand description
.
A builder to help construct the Test
command
Implementations§
source§impl TestBuilder
impl TestBuilder
pub fn rules(self, rules: Option<String>) -> Self
pub fn test_data(self, test_data: Option<String>) -> Self
pub fn directory(self, directory: Option<String>) -> Self
sourcepub fn alphabetical(self, arg: bool) -> Self
pub fn alphabetical(self, arg: bool) -> Self
Test files in a directory ordered alphabetically, conflicts with last_modified
field
default is false
sourcepub fn last_modified(self, arg: bool) -> Self
pub fn last_modified(self, arg: bool) -> Self
Test files in a directory ordered by last modified times, conflicts with alphabetical
field
default is false
sourcepub fn verbose(self, arg: bool) -> Self
pub fn verbose(self, arg: bool) -> Self
Output verbose logging, conflicts with output_format if not single-line-summary default is false
sourcepub fn output_format(self, output: OutputFormatType) -> Self
pub fn output_format(self, output: OutputFormatType) -> Self
Specify the format in which the output should be displayed default is single-line-summary will conflict with verbose if set to something other than single-line-summary and verbose is set to true
Trait Implementations§
source§impl CommandBuilder<Test> for TestBuilder
impl CommandBuilder<Test> for TestBuilder
source§impl Debug for TestBuilder
impl Debug for TestBuilder
source§impl Default for TestBuilder
impl Default for TestBuilder
source§fn default() -> TestBuilder
fn default() -> TestBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestBuilder
impl RefUnwindSafe for TestBuilder
impl Send for TestBuilder
impl Sync for TestBuilder
impl Unpin for TestBuilder
impl UnwindSafe for TestBuilder
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