Struct aws_sdk_iotanalytics::types::Variable
source · #[non_exhaustive]pub struct Variable { /* private fields */ }
Expand description
An instance of a variable to be passed to the containerAction
execution. Each variable must have a name and a value given by one of stringValue
, datasetContentVersionValue
, or outputFileUriValue
.
Implementations§
source§impl Variable
impl Variable
sourcepub fn string_value(&self) -> Option<&str>
pub fn string_value(&self) -> Option<&str>
The value of the variable as a string.
sourcepub fn double_value(&self) -> Option<f64>
pub fn double_value(&self) -> Option<f64>
The value of the variable as a double (numeric).
sourcepub fn dataset_content_version_value(
&self
) -> Option<&DatasetContentVersionValue>
pub fn dataset_content_version_value( &self ) -> Option<&DatasetContentVersionValue>
The value of the variable as a structure that specifies a dataset content version.
sourcepub fn output_file_uri_value(&self) -> Option<&OutputFileUriValue>
pub fn output_file_uri_value(&self) -> Option<&OutputFileUriValue>
The value of the variable as a structure that specifies an output file URI.
Trait Implementations§
source§impl PartialEq<Variable> for Variable
impl PartialEq<Variable> for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations§
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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