pub struct ContextFieldDef {
pub extract: String,
pub schema: Value,
}Expand description
Definition for a single context field: where to extract it and its schema.
Fields§
§extract: String§schema: ValueTrait Implementations§
Source§impl Clone for ContextFieldDef
impl Clone for ContextFieldDef
Source§fn clone(&self) -> ContextFieldDef
fn clone(&self) -> ContextFieldDef
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 ContextFieldDef
impl Debug for ContextFieldDef
Source§impl<'de> Deserialize<'de> for ContextFieldDef
impl<'de> Deserialize<'de> for ContextFieldDef
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 ContextFieldDef
impl RefUnwindSafe for ContextFieldDef
impl Send for ContextFieldDef
impl Sync for ContextFieldDef
impl Unpin for ContextFieldDef
impl UnsafeUnpin for ContextFieldDef
impl UnwindSafe for ContextFieldDef
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