pub enum InvariantBreakerValue {
Bool(bool),
UInt(u64),
Int(i64),
String(String),
Address(String),
Bytes(Vec<u8>),
}
Variants§
Trait Implementations§
Source§impl Clone for InvariantBreakerValue
impl Clone for InvariantBreakerValue
Source§fn clone(&self) -> InvariantBreakerValue
fn clone(&self) -> InvariantBreakerValue
Returns a duplicate of the value. Read more
1.0.0 · 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 InvariantBreakerValue
impl Debug for InvariantBreakerValue
Source§impl<'de> Deserialize<'de> for InvariantBreakerValue
impl<'de> Deserialize<'de> for InvariantBreakerValue
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 Display for InvariantBreakerValue
impl Display for InvariantBreakerValue
Source§impl From<InvariantBreakerValue> for Value
impl From<InvariantBreakerValue> for Value
Source§fn from(value: InvariantBreakerValue) -> Self
fn from(value: InvariantBreakerValue) -> Self
Converts to this type from the input type.
Source§impl From<Value> for InvariantBreakerValue
impl From<Value> for InvariantBreakerValue
Auto Trait Implementations§
impl Freeze for InvariantBreakerValue
impl RefUnwindSafe for InvariantBreakerValue
impl Send for InvariantBreakerValue
impl Sync for InvariantBreakerValue
impl Unpin for InvariantBreakerValue
impl UnwindSafe for InvariantBreakerValue
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