pub struct SteelDiscriminant {
pub type_: String,
pub value: u64,
}Expand description
Steel-style discriminant format: {“type”: “u8”, “value”: N}
Fields§
§type_: String§value: u64Trait Implementations§
Source§impl Clone for SteelDiscriminant
impl Clone for SteelDiscriminant
Source§fn clone(&self) -> SteelDiscriminant
fn clone(&self) -> SteelDiscriminant
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 SteelDiscriminant
impl Debug for SteelDiscriminant
Source§impl<'de> Deserialize<'de> for SteelDiscriminant
impl<'de> Deserialize<'de> for SteelDiscriminant
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
Auto Trait Implementations§
impl Freeze for SteelDiscriminant
impl RefUnwindSafe for SteelDiscriminant
impl Send for SteelDiscriminant
impl Sync for SteelDiscriminant
impl Unpin for SteelDiscriminant
impl UnsafeUnpin for SteelDiscriminant
impl UnwindSafe for SteelDiscriminant
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