#[non_exhaustive]pub struct SetSelectedDataSourceOperation {
pub provider_type: String,
pub old_selected_data_source: Option<SelectedDataSource>,
pub new_selected_data_source: Option<SelectedDataSource>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.provider_type: String§old_selected_data_source: Option<SelectedDataSource>§new_selected_data_source: Option<SelectedDataSource>Implementations§
source§impl SetSelectedDataSourceOperation
impl SetSelectedDataSourceOperation
sourcepub fn builder() -> SetSelectedDataSourceOperationBuilder<((), (), ())>
pub fn builder() -> SetSelectedDataSourceOperationBuilder<((), (), ())>
Create a builder for building SetSelectedDataSourceOperation.
On the builder, call .provider_type(...), .old_selected_data_source(...)(optional), .new_selected_data_source(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of SetSelectedDataSourceOperation.
Trait Implementations§
source§impl Clone for SetSelectedDataSourceOperation
impl Clone for SetSelectedDataSourceOperation
source§fn clone(&self) -> SetSelectedDataSourceOperation
fn clone(&self) -> SetSelectedDataSourceOperation
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<'de> Deserialize<'de> for SetSelectedDataSourceOperation
impl<'de> Deserialize<'de> for SetSelectedDataSourceOperation
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 for SetSelectedDataSourceOperation
impl PartialEq for SetSelectedDataSourceOperation
source§fn eq(&self, other: &SetSelectedDataSourceOperation) -> bool
fn eq(&self, other: &SetSelectedDataSourceOperation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for SetSelectedDataSourceOperation
impl StructuralPartialEq for SetSelectedDataSourceOperation
Auto Trait Implementations§
impl Freeze for SetSelectedDataSourceOperation
impl RefUnwindSafe for SetSelectedDataSourceOperation
impl Send for SetSelectedDataSourceOperation
impl Sync for SetSelectedDataSourceOperation
impl Unpin for SetSelectedDataSourceOperation
impl UnwindSafe for SetSelectedDataSourceOperation
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