pub struct StateDecl {
pub schema: Option<Value>,
pub reducer: Option<String>,
}Expand description
One declared run variable.
Fields§
§schema: Option<Value>A JSON Schema the written value must satisfy.
reducer: Option<String>How concurrent writes combine: overwrite | append | merge | union.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StateDecl
impl<'de> Deserialize<'de> for StateDecl
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
impl StructuralPartialEq for StateDecl
Auto Trait Implementations§
impl Freeze for StateDecl
impl RefUnwindSafe for StateDecl
impl Send for StateDecl
impl Sync for StateDecl
impl Unpin for StateDecl
impl UnsafeUnpin for StateDecl
impl UnwindSafe for StateDecl
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