pub struct TestPresetConfigParams {
pub entity_type: String,
pub entity_sub_type: Option<String>,
pub connector_id: String,
pub output_schema_id: String,
pub message_config_fields: Vec<MessageConfigField>,
pub preset_user_facing_id: String,
pub config_overrides: Vec<ConfigOverrides>,
}
Expand description
Parameters for testing a preset configuration.
This struct groups the parameters required for the test_preset_config
function.
Fields§
§entity_type: String
The entity type to test with.
entity_sub_type: Option<String>
The entity sub-type to test with (optional).
connector_id: String
The ID of the connector to test with.
output_schema_id: String
The ID of the output schema to test with.
message_config_fields: Vec<MessageConfigField>
The message configuration fields to use in the test.
preset_user_facing_id: String
The ID of the preset to test with.
config_overrides: Vec<ConfigOverrides>
The configuration overrides to apply during the test.
Auto Trait Implementations§
impl Freeze for TestPresetConfigParams
impl RefUnwindSafe for TestPresetConfigParams
impl Send for TestPresetConfigParams
impl Sync for TestPresetConfigParams
impl Unpin for TestPresetConfigParams
impl UnwindSafe for TestPresetConfigParams
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request