pub struct RulesetVersion(pub String);Expand description
Semver-shaped version for a ruleset, tracking parameter changes across delegated-act amendments.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for RulesetVersion
impl Clone for RulesetVersion
Source§fn clone(&self) -> RulesetVersion
fn clone(&self) -> RulesetVersion
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 RulesetVersion
impl Debug for RulesetVersion
Source§impl<'de> Deserialize<'de> for RulesetVersion
impl<'de> Deserialize<'de> for RulesetVersion
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
impl Eq for RulesetVersion
Source§impl PartialEq for RulesetVersion
impl PartialEq for RulesetVersion
Source§fn eq(&self, other: &RulesetVersion) -> bool
fn eq(&self, other: &RulesetVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RulesetVersion
impl Serialize for RulesetVersion
impl StructuralPartialEq for RulesetVersion
Auto Trait Implementations§
impl Freeze for RulesetVersion
impl RefUnwindSafe for RulesetVersion
impl Send for RulesetVersion
impl Sync for RulesetVersion
impl Unpin for RulesetVersion
impl UnsafeUnpin for RulesetVersion
impl UnwindSafe for RulesetVersion
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