Struct aws_sdk_honeycode::types::DataItem
source · #[non_exhaustive]pub struct DataItem {
pub override_format: Option<Format>,
pub raw_value: Option<String>,
pub formatted_value: Option<String>,
}
Expand description
The data in a particular data cell defined on the screen.
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.override_format: Option<Format>
The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.
raw_value: Option<String>
The raw value of the data. e.g. jsmith@example.com
formatted_value: Option<String>
The formatted value of the data. e.g. John Smith.
Implementations§
source§impl DataItem
impl DataItem
sourcepub fn override_format(&self) -> Option<&Format>
pub fn override_format(&self) -> Option<&Format>
The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.
sourcepub fn formatted_value(&self) -> Option<&str>
pub fn formatted_value(&self) -> Option<&str>
The formatted value of the data. e.g. John Smith.
Trait Implementations§
source§impl PartialEq for DataItem
impl PartialEq for DataItem
impl StructuralPartialEq for DataItem
Auto Trait Implementations§
impl RefUnwindSafe for DataItem
impl Send for DataItem
impl Sync for DataItem
impl Unpin for DataItem
impl UnwindSafe for DataItem
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
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>
Creates a shared type from an unshared type.