pub struct IntentField {
pub name: String,
pub value: Value,
}Expand description
A single intent field: resolved field name + typed value.
Fields§
§name: String§value: ValueTrait Implementations§
Source§impl Clone for IntentField
impl Clone for IntentField
Source§fn clone(&self) -> IntentField
fn clone(&self) -> IntentField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IntentField
impl Debug for IntentField
Source§impl<'de> Deserialize<'de> for IntentField
impl<'de> Deserialize<'de> for IntentField
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 PartialEq for IntentField
impl PartialEq for IntentField
Source§fn eq(&self, other: &IntentField) -> bool
fn eq(&self, other: &IntentField) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntentField
impl Serialize for IntentField
impl StructuralPartialEq for IntentField
Auto Trait Implementations§
impl Freeze for IntentField
impl RefUnwindSafe for IntentField
impl Send for IntentField
impl Sync for IntentField
impl Unpin for IntentField
impl UnsafeUnpin for IntentField
impl UnwindSafe for IntentField
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