pub struct DataSourceBindingBase {Show 13 fields
pub callback_context_template: Option<String>,
pub callback_required_template: Option<String>,
pub data_source_name: Option<String>,
pub endpoint_id: Option<String>,
pub endpoint_url: Option<String>,
pub headers: Vec<AuthorizationHeader>,
pub initial_context_template: Option<String>,
pub parameters: Option<Value>,
pub request_content: Option<String>,
pub request_verb: Option<String>,
pub result_selector: Option<String>,
pub result_template: Option<String>,
pub target: Option<String>,
}Expand description
Represents binding of data source for the service endpoint request.
Fields§
§callback_context_template: Option<String>Pagination format supported by this data source(ContinuationToken/SkipTop).
callback_required_template: Option<String>Subsequent calls needed?
data_source_name: Option<String>Gets or sets the name of the data source.
endpoint_id: Option<String>Gets or sets the endpoint Id.
endpoint_url: Option<String>Gets or sets the url of the service endpoint.
headers: Vec<AuthorizationHeader>Gets or sets the authorization headers.
initial_context_template: Option<String>Defines the initial value of the query params
parameters: Option<Value>Gets or sets the parameters for the data source.
request_content: Option<String>Gets or sets http request body
request_verb: Option<String>Gets or sets http request verb
result_selector: Option<String>Gets or sets the result selector.
result_template: Option<String>Gets or sets the result template.
target: Option<String>Gets or sets the target of the data source.
Implementations§
Trait Implementations§
source§impl Clone for DataSourceBindingBase
impl Clone for DataSourceBindingBase
source§fn clone(&self) -> DataSourceBindingBase
fn clone(&self) -> DataSourceBindingBase
Returns a copy 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 DataSourceBindingBase
impl Debug for DataSourceBindingBase
source§impl Default for DataSourceBindingBase
impl Default for DataSourceBindingBase
source§fn default() -> DataSourceBindingBase
fn default() -> DataSourceBindingBase
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DataSourceBindingBase
impl<'de> Deserialize<'de> for DataSourceBindingBase
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<DataSourceBindingBase> for DataSourceBindingBase
impl PartialEq<DataSourceBindingBase> for DataSourceBindingBase
source§fn eq(&self, other: &DataSourceBindingBase) -> bool
fn eq(&self, other: &DataSourceBindingBase) -> bool
This method tests for
self and other values to be equal, and is used
by ==.