pub struct EnumValue {
pub name: String,
pub value: String,
}Expand description
One named value of an enum data type, from get_datatype. value is a String (not a number):
Ghidra enum constants can be full 64-bit values, and a bare JSON number would lose precision for the
high end of that range (spec §10.8) — the agent must parse it itself.
Fields§
§name: String§value: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for EnumValue
impl<'de> Deserialize<'de> for EnumValue
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 EnumValue
impl StructuralPartialEq for EnumValue
Auto Trait Implementations§
impl Freeze for EnumValue
impl RefUnwindSafe for EnumValue
impl Send for EnumValue
impl Sync for EnumValue
impl Unpin for EnumValue
impl UnsafeUnpin for EnumValue
impl UnwindSafe for EnumValue
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