Struct rusoto_kendra::DocumentAttributeValue [−][src]
pub struct DocumentAttributeValue { pub date_value: Option<f64>, pub long_value: Option<i64>, pub string_list_value: Option<Vec<String>>, pub string_value: Option<String>, }
Expand description
The value of a custom document attribute. You can only provide one value for a custom attribute.
Fields
date_value: Option<f64>
A date expressed as an ISO 8601 string.
It is important for the time zone to be included in the ISO 8601 date-time format. For example, 20120325T123010+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
long_value: Option<i64>
A long integer value.
string_list_value: Option<Vec<String>>
A list of strings.
string_value: Option<String>
A string, such as "department".
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DocumentAttributeValue
impl Send for DocumentAttributeValue
impl Sync for DocumentAttributeValue
impl Unpin for DocumentAttributeValue
impl UnwindSafe for DocumentAttributeValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self