Struct ovmi::compiled_predicates::CompiledPredicate[][src]

pub struct CompiledPredicate {
    pub type: PredicateType,
    pub name: Vec<u8>,
    pub input_defs: Vec<Vec<u8>>,
    pub contracts: Vec<IntermediateCompiledPredicate>,
    pub constants: Option<Vec<ConstantVariable>>,
    pub entry_point: Vec<u8>,
}
Expand description

Compiled Property definition

Fields

type: PredicateTypename: Vec<u8>input_defs: Vec<Vec<u8>>contracts: Vec<IntermediateCompiledPredicate>constants: Option<Vec<ConstantVariable>>entry_point: Vec<u8>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Attempt to deserialise the value from input.

Convert self to a slice and append it to the destination.

If possible give a hint of expected size of the encoding. Read more

Convert self to an owned vector.

Convert self to a slice and then invoke the given closure with it.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Decode Self and consume all of the given input data. If not all data is consumed, an error is returned. Read more

Decode Self and consume all of the given input data. If not all data is consumed, an error is returned. Read more

Decode Self with given maximum recursion depth. is returned. Read more

Performs the conversion.

Performs the conversion.

Return an encoding of Self prepended by given slice.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.