pub struct RuleVersion(pub u32);Expand description
Carries the rule version record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for RuleVersion
impl Clone for RuleVersion
Source§fn clone(&self) -> RuleVersion
fn clone(&self) -> RuleVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuleVersion
impl Debug for RuleVersion
Source§impl<'de> Deserialize<'de> for RuleVersion
impl<'de> Deserialize<'de> for RuleVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RuleVersion
impl Hash for RuleVersion
Source§impl Ord for RuleVersion
impl Ord for RuleVersion
Source§fn cmp(&self, other: &RuleVersion) -> Ordering
fn cmp(&self, other: &RuleVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RuleVersion
impl PartialEq for RuleVersion
Source§fn eq(&self, other: &RuleVersion) -> bool
fn eq(&self, other: &RuleVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RuleVersion
impl PartialOrd for RuleVersion
Source§impl Serialize for RuleVersion
impl Serialize for RuleVersion
impl Copy for RuleVersion
impl Eq for RuleVersion
impl StructuralPartialEq for RuleVersion
Auto Trait Implementations§
impl Freeze for RuleVersion
impl RefUnwindSafe for RuleVersion
impl Send for RuleVersion
impl Sync for RuleVersion
impl Unpin for RuleVersion
impl UnsafeUnpin for RuleVersion
impl UnwindSafe for RuleVersion
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