pub struct QueryConfig {
pub added: Option<CallSpec>,
pub updated: Option<CallSpec>,
pub deleted: Option<CallSpec>,
}Expand description
Configuration for query-specific HTTP calls.
Defines different HTTP call specifications for each operation type (added, updated, deleted). Each operation type can have its own URL, method, body template, and headers.
Fields§
§added: Option<CallSpec>HTTP call specification for ADD operations (new rows in query results).
updated: Option<CallSpec>HTTP call specification for UPDATE operations (modified rows in query results).
deleted: Option<CallSpec>HTTP call specification for DELETE operations (removed rows from query results).
Trait Implementations§
Source§impl Clone for QueryConfig
impl Clone for QueryConfig
Source§fn clone(&self) -> QueryConfig
fn clone(&self) -> QueryConfig
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 QueryConfig
impl Debug for QueryConfig
Source§impl<'de> Deserialize<'de> for QueryConfig
impl<'de> Deserialize<'de> for QueryConfig
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 QueryConfig
impl PartialEq for QueryConfig
Source§impl Serialize for QueryConfig
impl Serialize for QueryConfig
impl StructuralPartialEq for QueryConfig
Auto Trait Implementations§
impl Freeze for QueryConfig
impl RefUnwindSafe for QueryConfig
impl Send for QueryConfig
impl Sync for QueryConfig
impl Unpin for QueryConfig
impl UnsafeUnpin for QueryConfig
impl UnwindSafe for QueryConfig
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