diff --git a/rust-connector-sdk/src/connector.rs b/rust-connector-sdk/src/connector.rs index 92619cab..d9965e14 100644 --- a/rust-connector-sdk/src/connector.rs +++ b/rust-connector-sdk/src/connector.rs @@ -287,12 +287,15 @@ pub trait Connector { ) -> Result; } +#[derive(Serialize)] pub enum ConnectorMode { ReadOnly, ReadWrite, WriteOnly, } +#[derive(Serialize)] +#[serde(bound = "::Configuration: Serialize")] pub struct RegionConfiguration { pub config: ::Configuration, pub mode: ConnectorMode,