launchdarkly_server_sdk_evaluation

Trait Versioned

Source
pub trait Versioned {
    // Required method
    fn version(&self) -> u64;

    // Provided method
    fn is_greater_than_or_equal(&self, version: u64) -> bool { ... }
}
Expand description

Trait indicating that the item is versioned.

Required Methods§

Source

fn version(&self) -> u64

Retrieve the version for this item instance.

Provided Methods§

Source

fn is_greater_than_or_equal(&self, version: u64) -> bool

Determine if this item’s version is greater than or equal to the provided version parameter.

Implementors§