pub struct RlmExecuteRequestDataSource {
pub allowed_hosts: Vec<String>,
pub base_url: String,
pub limits: Option<RlmExecuteRequestDataSourceLimits>,
pub token: String,
pub type_: RlmExecuteRequestDataSourceType,
}Expand description
External data source configuration for wrapper_v1 integration
JSON schema
{
"description": "External data source configuration for wrapper_v1 integration",
"type": "object",
"required": [
"base_url",
"token",
"type"
],
"properties": {
"allowed_hosts": {
"description": "Additional hosts the sandbox may connect to",
"type": "array",
"items": {
"type": "string"
}
},
"base_url": {
"description": "HTTPS base URL for the data source wrapper",
"type": "string",
"format": "uri"
},
"limits": {
"description": "Request/response limits for the data source",
"type": "object",
"properties": {
"max_requests": {
"type": "integer"
},
"max_response_bytes": {
"type": "integer"
}
}
},
"token": {
"description": "Bearer token for authenticating with the data source",
"type": "string"
},
"type": {
"type": "string",
"enum": [
"wrapper_v1"
]
}
}
}Fields§
§allowed_hosts: Vec<String>Additional hosts the sandbox may connect to
base_url: StringHTTPS base URL for the data source wrapper
limits: Option<RlmExecuteRequestDataSourceLimits>§token: StringBearer token for authenticating with the data source
type_: RlmExecuteRequestDataSourceTypeTrait Implementations§
Source§impl Clone for RlmExecuteRequestDataSource
impl Clone for RlmExecuteRequestDataSource
Source§fn clone(&self) -> RlmExecuteRequestDataSource
fn clone(&self) -> RlmExecuteRequestDataSource
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 RlmExecuteRequestDataSource
impl Debug for RlmExecuteRequestDataSource
Source§impl<'de> Deserialize<'de> for RlmExecuteRequestDataSource
impl<'de> Deserialize<'de> for RlmExecuteRequestDataSource
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<&RlmExecuteRequestDataSource> for RlmExecuteRequestDataSource
impl From<&RlmExecuteRequestDataSource> for RlmExecuteRequestDataSource
Source§fn from(value: &RlmExecuteRequestDataSource) -> Self
fn from(value: &RlmExecuteRequestDataSource) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for RlmExecuteRequestDataSource
Auto Trait Implementations§
impl Freeze for RlmExecuteRequestDataSource
impl RefUnwindSafe for RlmExecuteRequestDataSource
impl Send for RlmExecuteRequestDataSource
impl Sync for RlmExecuteRequestDataSource
impl Unpin for RlmExecuteRequestDataSource
impl UnwindSafe for RlmExecuteRequestDataSource
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