pub struct StructFieldValue {
pub name: String,
pub value: Value,
pub optional: bool,
}Expand description
An evaluated struct field ready for message construction.
Fields§
§name: StringThe field name.
value: ValueThe evaluated value.
optional: boolWhether this is an optional field entry.
Trait Implementations§
Source§impl Clone for StructFieldValue
impl Clone for StructFieldValue
Source§fn clone(&self) -> StructFieldValue
fn clone(&self) -> StructFieldValue
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 moreAuto Trait Implementations§
impl Freeze for StructFieldValue
impl !RefUnwindSafe for StructFieldValue
impl Send for StructFieldValue
impl Sync for StructFieldValue
impl Unpin for StructFieldValue
impl !UnwindSafe for StructFieldValue
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