#[non_exhaustive]pub struct UpdateDataSourceInput {
pub domain_identifier: Option<String>,
pub identifier: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub enable_setting: Option<EnableSetting>,
pub publish_on_import: Option<bool>,
pub asset_forms_input: Option<Vec<FormInput>>,
pub schedule: Option<ScheduleConfiguration>,
pub configuration: Option<DataSourceConfigurationInput>,
pub recommendation: Option<RecommendationConfiguration>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain_identifier: Option<String>
The identifier of the domain in which to update a data source.
identifier: Option<String>
The identifier of the data source to be updated.
name: Option<String>
The name to be updated as part of the UpdateDataSource
action.
description: Option<String>
The description to be updated as part of the UpdateDataSource
action.
enable_setting: Option<EnableSetting>
The enable setting to be updated as part of the UpdateDataSource
action.
publish_on_import: Option<bool>
The publish on import setting to be updated as part of the UpdateDataSource
action.
asset_forms_input: Option<Vec<FormInput>>
The asset forms to be updated as part of the UpdateDataSource
action.
schedule: Option<ScheduleConfiguration>
The schedule to be updated as part of the UpdateDataSource
action.
configuration: Option<DataSourceConfigurationInput>
The configuration to be updated as part of the UpdateDataSource
action.
recommendation: Option<RecommendationConfiguration>
The recommendation to be updated as part of the UpdateDataSource
action.
Implementations§
source§impl UpdateDataSourceInput
impl UpdateDataSourceInput
sourcepub fn domain_identifier(&self) -> Option<&str>
pub fn domain_identifier(&self) -> Option<&str>
The identifier of the domain in which to update a data source.
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The identifier of the data source to be updated.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name to be updated as part of the UpdateDataSource
action.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description to be updated as part of the UpdateDataSource
action.
sourcepub fn enable_setting(&self) -> Option<&EnableSetting>
pub fn enable_setting(&self) -> Option<&EnableSetting>
The enable setting to be updated as part of the UpdateDataSource
action.
sourcepub fn publish_on_import(&self) -> Option<bool>
pub fn publish_on_import(&self) -> Option<bool>
The publish on import setting to be updated as part of the UpdateDataSource
action.
sourcepub fn asset_forms_input(&self) -> &[FormInput]
pub fn asset_forms_input(&self) -> &[FormInput]
The asset forms to be updated as part of the UpdateDataSource
action.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .asset_forms_input.is_none()
.
sourcepub fn schedule(&self) -> Option<&ScheduleConfiguration>
pub fn schedule(&self) -> Option<&ScheduleConfiguration>
The schedule to be updated as part of the UpdateDataSource
action.
sourcepub fn configuration(&self) -> Option<&DataSourceConfigurationInput>
pub fn configuration(&self) -> Option<&DataSourceConfigurationInput>
The configuration to be updated as part of the UpdateDataSource
action.
sourcepub fn recommendation(&self) -> Option<&RecommendationConfiguration>
pub fn recommendation(&self) -> Option<&RecommendationConfiguration>
The recommendation to be updated as part of the UpdateDataSource
action.
source§impl UpdateDataSourceInput
impl UpdateDataSourceInput
sourcepub fn builder() -> UpdateDataSourceInputBuilder
pub fn builder() -> UpdateDataSourceInputBuilder
Creates a new builder-style object to manufacture UpdateDataSourceInput
.
Trait Implementations§
source§impl Clone for UpdateDataSourceInput
impl Clone for UpdateDataSourceInput
source§fn clone(&self) -> UpdateDataSourceInput
fn clone(&self) -> UpdateDataSourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDataSourceInput
impl Debug for UpdateDataSourceInput
source§impl PartialEq for UpdateDataSourceInput
impl PartialEq for UpdateDataSourceInput
source§fn eq(&self, other: &UpdateDataSourceInput) -> bool
fn eq(&self, other: &UpdateDataSourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.