[][src]Trait aws_iam::report::ConditionVisitor

pub trait ConditionVisitor {
    fn start(&self, writer: &mut dyn Write) { ... }
fn left(&self, writer: &mut dyn Write, f: &QString, op: &ConditionOperator) { ... }
fn operator(&self, writer: &mut dyn Write, op: &ConditionOperator) { ... }
fn right(
        &self,
        writer: &mut dyn Write,
        v: &OneOrAll<ConditionValue>,
        op: &ConditionOperator
    ) { ... }
fn finish(&self, writer: &mut dyn Write) { ... } }

Walk the elements of a Condition struct. The implementation of this trait will be called by walk_policy in the following order.

  1. start()
  2. left()
  3. operator()
  4. right()
  5. finish()

Provided methods

fn start(&self, writer: &mut dyn Write)

Called to signal the walker has started a Condition.

fn left(&self, writer: &mut dyn Write, f: &QString, op: &ConditionOperator)

Called by the walker to allow handling of the left component of the Condition.

fn operator(&self, writer: &mut dyn Write, op: &ConditionOperator)

Called by the walker to allow handling of the operator component of the Condition.

fn right(
    &self,
    writer: &mut dyn Write,
    v: &OneOrAll<ConditionValue>,
    op: &ConditionOperator
)

Called by the walker to allow handling of the right component of the Condition.

fn finish(&self, writer: &mut dyn Write)

Called to signal the walker has finished the Condition.

Loading content...

Implementors

impl ConditionVisitor for MarkdownGenerator[src]

Loading content...