Struct predicates_core::reflection::Product[][src]

pub struct Product(_, _);

A by-product of a predicate evaluation.

use predicates_core;

let product = predicates_core::reflection::Product::new("key", "value");
println!("{}", product);
let product = predicates_core::reflection::Product::new(format!("key-{}", 5), 30);
println!("{}", product);

Methods

impl Product
[src]

Create a new Product.

Access the Product name.

Access the Product value.

Trait Implementations

impl<'a> Display for Product
[src]

Formats the value using the given formatter. Read more

impl<'a> Debug for Product
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Product

impl !Sync for Product