Struct azure_devops_rust_api::release::models::DataSourceBinding
source · pub struct DataSourceBinding {
pub callback_context_template: Option<String>,
pub call_back_required_template: Option<String>,
pub data_source_name: Option<String>,
pub endpoint_id: Option<String>,
pub endpoint_url: Option<String>,
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
Fields§
§callback_context_template: Option<String>Pagination format supported by this data source(ContinuationToken/SkipTop).
call_back_required_template: Option<String>Subsequent calls needed?
data_source_name: Option<String>Name of the datasource.
endpoint_id: Option<String>Endpoint ID of the datasource.
endpoint_url: Option<String>Endpoint URL of the datasource.
initial_context_template: Option<String>Defines the initial value of the query params
parameters: Option<Value>Parameters of the datasource.
request_content: Option<String>Gets or sets http request body
request_verb: Option<String>Gets or sets http request verb
result_selector: Option<String>Result selector applied on output of datasource result, for example jsonpath:$.value[?(@.properties.isEnabled == true)].
result_template: Option<String>Format of the return results, for example. { “Value” : “{{{id}}}”, “DisplayValue” : “{{{name}}}” }.
target: Option<String>Target of the datasource.
Implementations§
Trait Implementations§
source§impl Clone for DataSourceBinding
impl Clone for DataSourceBinding
source§fn clone(&self) -> DataSourceBinding
fn clone(&self) -> DataSourceBinding
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 DataSourceBinding
impl Debug for DataSourceBinding
source§impl Default for DataSourceBinding
impl Default for DataSourceBinding
source§fn default() -> DataSourceBinding
fn default() -> DataSourceBinding
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DataSourceBinding
impl<'de> Deserialize<'de> for DataSourceBinding
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<DataSourceBinding> for DataSourceBinding
impl PartialEq<DataSourceBinding> for DataSourceBinding
source§fn eq(&self, other: &DataSourceBinding) -> bool
fn eq(&self, other: &DataSourceBinding) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DataSourceBinding
impl Serialize for DataSourceBinding
impl StructuralPartialEq for DataSourceBinding
Auto Trait Implementations§
impl RefUnwindSafe for DataSourceBinding
impl Send for DataSourceBinding
impl Sync for DataSourceBinding
impl Unpin for DataSourceBinding
impl UnwindSafe for DataSourceBinding
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