pub enum ApiOriginConfig {
EmptyOriginConfig(ApiEmptyOriginConfig),
TrinoOriginConfig(ApiTrinoOriginConfig),
ClickHouseOriginConfig(ApiClickHouseOriginConfig),
HttpOriginConfig(ApiHttpOriginConfig),
GraphqlOriginConfig(ApiGraphqlOriginConfig),
McpOriginConfig(ApiMcpOriginConfig),
KafkaOriginConfig(ApiKafkaOriginConfig),
SurrealDbOriginConfig(ApiSurrealDbOriginConfig),
}Expand description
ApiOriginConfig
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/ApiEmptyOriginConfig"
},
{
"$ref": "#/components/schemas/ApiTrinoOriginConfig"
},
{
"$ref": "#/components/schemas/ApiClickHouseOriginConfig"
},
{
"$ref": "#/components/schemas/ApiHttpOriginConfig"
},
{
"$ref": "#/components/schemas/ApiGraphqlOriginConfig"
},
{
"$ref": "#/components/schemas/ApiMcpOriginConfig"
},
{
"$ref": "#/components/schemas/ApiKafkaOriginConfig"
},
{
"$ref": "#/components/schemas/ApiSurrealDbOriginConfig"
}
]
}Variants§
EmptyOriginConfig(ApiEmptyOriginConfig)
TrinoOriginConfig(ApiTrinoOriginConfig)
ClickHouseOriginConfig(ApiClickHouseOriginConfig)
HttpOriginConfig(ApiHttpOriginConfig)
GraphqlOriginConfig(ApiGraphqlOriginConfig)
McpOriginConfig(ApiMcpOriginConfig)
KafkaOriginConfig(ApiKafkaOriginConfig)
SurrealDbOriginConfig(ApiSurrealDbOriginConfig)
Trait Implementations§
Source§impl Clone for ApiOriginConfig
impl Clone for ApiOriginConfig
Source§fn clone(&self) -> ApiOriginConfig
fn clone(&self) -> ApiOriginConfig
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 ApiOriginConfig
impl Debug for ApiOriginConfig
Source§impl<'de> Deserialize<'de> for ApiOriginConfig
impl<'de> Deserialize<'de> for ApiOriginConfig
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 From<ApiClickHouseOriginConfig> for ApiOriginConfig
impl From<ApiClickHouseOriginConfig> for ApiOriginConfig
Source§fn from(value: ApiClickHouseOriginConfig) -> Self
fn from(value: ApiClickHouseOriginConfig) -> Self
Converts to this type from the input type.
Source§impl From<ApiEmptyOriginConfig> for ApiOriginConfig
impl From<ApiEmptyOriginConfig> for ApiOriginConfig
Source§fn from(value: ApiEmptyOriginConfig) -> Self
fn from(value: ApiEmptyOriginConfig) -> Self
Converts to this type from the input type.
Source§impl From<ApiGraphqlOriginConfig> for ApiOriginConfig
impl From<ApiGraphqlOriginConfig> for ApiOriginConfig
Source§fn from(value: ApiGraphqlOriginConfig) -> Self
fn from(value: ApiGraphqlOriginConfig) -> Self
Converts to this type from the input type.
Source§impl From<ApiHttpOriginConfig> for ApiOriginConfig
impl From<ApiHttpOriginConfig> for ApiOriginConfig
Source§fn from(value: ApiHttpOriginConfig) -> Self
fn from(value: ApiHttpOriginConfig) -> Self
Converts to this type from the input type.
Source§impl From<ApiKafkaOriginConfig> for ApiOriginConfig
impl From<ApiKafkaOriginConfig> for ApiOriginConfig
Source§fn from(value: ApiKafkaOriginConfig) -> Self
fn from(value: ApiKafkaOriginConfig) -> Self
Converts to this type from the input type.
Source§impl From<ApiMcpOriginConfig> for ApiOriginConfig
impl From<ApiMcpOriginConfig> for ApiOriginConfig
Source§fn from(value: ApiMcpOriginConfig) -> Self
fn from(value: ApiMcpOriginConfig) -> Self
Converts to this type from the input type.
Source§impl From<ApiSurrealDbOriginConfig> for ApiOriginConfig
impl From<ApiSurrealDbOriginConfig> for ApiOriginConfig
Source§fn from(value: ApiSurrealDbOriginConfig) -> Self
fn from(value: ApiSurrealDbOriginConfig) -> Self
Converts to this type from the input type.
Source§impl From<ApiTrinoOriginConfig> for ApiOriginConfig
impl From<ApiTrinoOriginConfig> for ApiOriginConfig
Source§fn from(value: ApiTrinoOriginConfig) -> Self
fn from(value: ApiTrinoOriginConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApiOriginConfig
impl RefUnwindSafe for ApiOriginConfig
impl Send for ApiOriginConfig
impl Sync for ApiOriginConfig
impl Unpin for ApiOriginConfig
impl UnsafeUnpin for ApiOriginConfig
impl UnwindSafe for ApiOriginConfig
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