#[non_exhaustive]pub struct ImportProductSetsInputConfig {
pub source: Option<Source>,
/* private fields */
}Expand description
The input content for the ImportProductSets method.
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.source: Option<Source>The source of the input.
Implementations§
Source§impl ImportProductSetsInputConfig
impl ImportProductSetsInputConfig
pub fn new() -> Self
Sourcepub fn set_source<T: Into<Option<Source>>>(self, v: T) -> Self
pub fn set_source<T: Into<Option<Source>>>(self, v: T) -> Self
Sets the value of source.
Note that all the setters affecting source are mutually
exclusive.
Sourcepub fn gcs_source(&self) -> Option<&Box<ImportProductSetsGcsSource>>
pub fn gcs_source(&self) -> Option<&Box<ImportProductSetsGcsSource>>
The value of source
if it holds a GcsSource, None if the field is not set or
holds a different branch.
Sourcepub fn set_gcs_source<T: Into<Box<ImportProductSetsGcsSource>>>(
self,
v: T,
) -> Self
pub fn set_gcs_source<T: Into<Box<ImportProductSetsGcsSource>>>( self, v: T, ) -> Self
Sets the value of source
to hold a GcsSource.
Note that all the setters affecting source are
mutually exclusive.
Trait Implementations§
Source§impl Clone for ImportProductSetsInputConfig
impl Clone for ImportProductSetsInputConfig
Source§fn clone(&self) -> ImportProductSetsInputConfig
fn clone(&self) -> ImportProductSetsInputConfig
Returns a duplicate 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 ImportProductSetsInputConfig
impl Debug for ImportProductSetsInputConfig
Source§impl Default for ImportProductSetsInputConfig
impl Default for ImportProductSetsInputConfig
Source§fn default() -> ImportProductSetsInputConfig
fn default() -> ImportProductSetsInputConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for ImportProductSetsInputConfig
impl PartialEq for ImportProductSetsInputConfig
Source§fn eq(&self, other: &ImportProductSetsInputConfig) -> bool
fn eq(&self, other: &ImportProductSetsInputConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImportProductSetsInputConfig
Auto Trait Implementations§
impl Freeze for ImportProductSetsInputConfig
impl RefUnwindSafe for ImportProductSetsInputConfig
impl Send for ImportProductSetsInputConfig
impl Sync for ImportProductSetsInputConfig
impl Unpin for ImportProductSetsInputConfig
impl UnwindSafe for ImportProductSetsInputConfig
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