pub struct ChoiceValue {
pub suffix: &'static str,
pub value: Option<Value>,
pub element: Option<Value>,
}Expand description
A fixed[x] or pattern[x] value in its JSON form.
Fields§
§suffix: &'static strThe type suffix of the member name, Code for fixedCode.
value: Option<Value>The JSON value of the member.
element: Option<Value>The _ sibling a primitive value carries its id and extensions in.
Trait Implementations§
Source§impl Clone for ChoiceValue
impl Clone for ChoiceValue
Source§impl Debug for ChoiceValue
impl Debug for ChoiceValue
impl Eq for ChoiceValue
Source§impl PartialEq for ChoiceValue
impl PartialEq for ChoiceValue
impl StructuralPartialEq for ChoiceValue
Auto Trait Implementations§
impl Freeze for ChoiceValue
impl RefUnwindSafe for ChoiceValue
impl Send for ChoiceValue
impl Sync for ChoiceValue
impl Unpin for ChoiceValue
impl UnsafeUnpin for ChoiceValue
impl UnwindSafe for ChoiceValue
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