pub struct ContextDataModelDefinition {
pub schema: Option<SchemaDefinition>,
pub as_: Option<Value>,
}Expand description
Represents the definition of a workflow’s context data
Fields§
§schema: Option<SchemaDefinition>Gets/sets the schema, if any, that defines and describes the context data
as_: Option<Value>Gets/sets a runtime expression, if any, used to set the content of the workflow context
Trait Implementations§
Source§impl Clone for ContextDataModelDefinition
impl Clone for ContextDataModelDefinition
Source§fn clone(&self) -> ContextDataModelDefinition
fn clone(&self) -> ContextDataModelDefinition
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 ContextDataModelDefinition
impl Debug for ContextDataModelDefinition
Source§impl Default for ContextDataModelDefinition
impl Default for ContextDataModelDefinition
Source§fn default() -> ContextDataModelDefinition
fn default() -> ContextDataModelDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextDataModelDefinition
impl<'de> Deserialize<'de> for ContextDataModelDefinition
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 ContextDataModelDefinition
impl PartialEq for ContextDataModelDefinition
Source§fn eq(&self, other: &ContextDataModelDefinition) -> bool
fn eq(&self, other: &ContextDataModelDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContextDataModelDefinition
Auto Trait Implementations§
impl Freeze for ContextDataModelDefinition
impl RefUnwindSafe for ContextDataModelDefinition
impl Send for ContextDataModelDefinition
impl Sync for ContextDataModelDefinition
impl Unpin for ContextDataModelDefinition
impl UnsafeUnpin for ContextDataModelDefinition
impl UnwindSafe for ContextDataModelDefinition
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