#[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>,
pub retain_permissions_on_revoke_failure: Option<bool>,
}
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.
retain_permissions_on_revoke_failure: Option<bool>
Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.
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.
sourcepub fn retain_permissions_on_revoke_failure(&self) -> Option<bool>
pub fn retain_permissions_on_revoke_failure(&self) -> Option<bool>
Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.
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
impl StructuralPartialEq for UpdateDataSourceInput
Auto Trait Implementations§
impl Freeze for UpdateDataSourceInput
impl RefUnwindSafe for UpdateDataSourceInput
impl Send for UpdateDataSourceInput
impl Sync for UpdateDataSourceInput
impl Unpin for UpdateDataSourceInput
impl UnwindSafe for UpdateDataSourceInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more