pub struct RecordsMultiSpec {
pub path: String,
pub op: String,
}Expand description
One entry in a RestStreamConfig::records_multi fan-out (#548): a JSONPath
selecting an array of records, plus the op marker each is stamped with.
Fields§
§path: StringJSONPath selecting an array of records (e.g. "$.added[*]").
op: StringOp marker stamped onto each record from path under
RestStreamConfig::op_field (e.g. upsert / delete, or u / d).
Trait Implementations§
Source§impl Clone for RecordsMultiSpec
impl Clone for RecordsMultiSpec
Source§fn clone(&self) -> RecordsMultiSpec
fn clone(&self) -> RecordsMultiSpec
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 RecordsMultiSpec
impl Debug for RecordsMultiSpec
Source§impl<'de> Deserialize<'de> for RecordsMultiSpec
impl<'de> Deserialize<'de> for RecordsMultiSpec
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 JsonSchema for RecordsMultiSpec
impl JsonSchema for RecordsMultiSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RecordsMultiSpec
impl PartialEq for RecordsMultiSpec
Source§impl Serialize for RecordsMultiSpec
impl Serialize for RecordsMultiSpec
impl StructuralPartialEq for RecordsMultiSpec
Auto Trait Implementations§
impl Freeze for RecordsMultiSpec
impl RefUnwindSafe for RecordsMultiSpec
impl Send for RecordsMultiSpec
impl Sync for RecordsMultiSpec
impl Unpin for RecordsMultiSpec
impl UnsafeUnpin for RecordsMultiSpec
impl UnwindSafe for RecordsMultiSpec
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