#[non_exhaustive]pub enum StructuredValue {
MoneyValue(Box<Money>),
DateValue(Box<Date>),
DatetimeValue(Box<DateTime>),
AddressValue(Box<PostalAddress>),
BooleanValue(bool),
IntegerValue(i32),
FloatValue(f32),
SignatureValue(bool),
}Expand description
An optional structured entity value.
Must match entity type defined in schema if
known. If this field is present, the text field could also be
populated.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
MoneyValue(Box<Money>)
Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
DateValue(Box<Date>)
Date value. Includes year, month, day. See also: https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
DatetimeValue(Box<DateTime>)
DateTime value. Includes date, time, and timezone. See also: https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
AddressValue(Box<PostalAddress>)
Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
BooleanValue(bool)
Boolean value. Can be used for entities with binary values, or for checkboxes.
IntegerValue(i32)
Integer value.
FloatValue(f32)
Float value.
SignatureValue(bool)
A signature - a graphical representation of a person’s name, often used to sign a document.
Trait Implementations§
Source§impl Clone for StructuredValue
impl Clone for StructuredValue
Source§fn clone(&self) -> StructuredValue
fn clone(&self) -> StructuredValue
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StructuredValue
impl Debug for StructuredValue
Source§impl PartialEq for StructuredValue
impl PartialEq for StructuredValue
impl StructuralPartialEq for StructuredValue
Auto Trait Implementations§
impl Freeze for StructuredValue
impl RefUnwindSafe for StructuredValue
impl Send for StructuredValue
impl Sync for StructuredValue
impl Unpin for StructuredValue
impl UnsafeUnpin for StructuredValue
impl UnwindSafe for StructuredValue
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request