Struct aws_sdk_iottwinmaker::model::DataValue
source · [−]#[non_exhaustive]pub struct DataValue { /* private fields */ }Expand description
An object that specifies a value for a property.
Implementations
sourceimpl DataValue
impl DataValue
sourcepub fn boolean_value(&self) -> Option<bool>
pub fn boolean_value(&self) -> Option<bool>
A Boolean value.
sourcepub fn double_value(&self) -> Option<f64>
pub fn double_value(&self) -> Option<f64>
A double value.
sourcepub fn integer_value(&self) -> Option<i32>
pub fn integer_value(&self) -> Option<i32>
An integer value.
sourcepub fn long_value(&self) -> Option<i64>
pub fn long_value(&self) -> Option<i64>
A long value.
sourcepub fn string_value(&self) -> Option<&str>
pub fn string_value(&self) -> Option<&str>
A string value.
sourcepub fn list_value(&self) -> Option<&[DataValue]>
pub fn list_value(&self) -> Option<&[DataValue]>
A list of multiple values.
sourcepub fn map_value(&self) -> Option<&HashMap<String, DataValue>>
pub fn map_value(&self) -> Option<&HashMap<String, DataValue>>
An object that maps strings to multiple DataValue objects.
sourcepub fn relationship_value(&self) -> Option<&RelationshipValue>
pub fn relationship_value(&self) -> Option<&RelationshipValue>
A value that relates a component to another component.
sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
An expression that produces the value.
Trait Implementations
sourceimpl PartialEq<DataValue> for DataValue
impl PartialEq<DataValue> for DataValue
impl StructuralPartialEq for DataValue
Auto Trait Implementations
impl RefUnwindSafe for DataValue
impl Send for DataValue
impl Sync for DataValue
impl Unpin for DataValue
impl UnwindSafe for DataValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more