#[non_exhaustive]pub struct PropertyDefinitionRequest {
pub data_type: Option<DataType>,
pub is_required_in_entity: Option<bool>,
pub is_external_id: Option<bool>,
pub is_stored_externally: Option<bool>,
pub is_time_series: Option<bool>,
pub default_value: Option<DataValue>,
pub configuration: Option<HashMap<String, String>>,
}Expand description
An object that sets information about a property.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_type: Option<DataType>An object that contains information about the data type.
is_required_in_entity: Option<bool>A Boolean value that specifies whether the property is required.
is_external_id: Option<bool>A Boolean value that specifies whether the property ID comes from an external data store.
is_stored_externally: Option<bool>A Boolean value that specifies whether the property is stored externally.
is_time_series: Option<bool>A Boolean value that specifies whether the property consists of time series data.
default_value: Option<DataValue>An object that contains the default value.
configuration: Option<HashMap<String, String>>A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.
Implementations
sourceimpl PropertyDefinitionRequest
impl PropertyDefinitionRequest
sourcepub fn data_type(&self) -> Option<&DataType>
pub fn data_type(&self) -> Option<&DataType>
An object that contains information about the data type.
sourcepub fn is_required_in_entity(&self) -> Option<bool>
pub fn is_required_in_entity(&self) -> Option<bool>
A Boolean value that specifies whether the property is required.
sourcepub fn is_external_id(&self) -> Option<bool>
pub fn is_external_id(&self) -> Option<bool>
A Boolean value that specifies whether the property ID comes from an external data store.
sourcepub fn is_stored_externally(&self) -> Option<bool>
pub fn is_stored_externally(&self) -> Option<bool>
A Boolean value that specifies whether the property is stored externally.
sourcepub fn is_time_series(&self) -> Option<bool>
pub fn is_time_series(&self) -> Option<bool>
A Boolean value that specifies whether the property consists of time series data.
sourcepub fn default_value(&self) -> Option<&DataValue>
pub fn default_value(&self) -> Option<&DataValue>
An object that contains the default value.
sourceimpl PropertyDefinitionRequest
impl PropertyDefinitionRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PropertyDefinitionRequest
Trait Implementations
sourceimpl Clone for PropertyDefinitionRequest
impl Clone for PropertyDefinitionRequest
sourcefn clone(&self) -> PropertyDefinitionRequest
fn clone(&self) -> PropertyDefinitionRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PropertyDefinitionRequest
impl Debug for PropertyDefinitionRequest
sourceimpl PartialEq<PropertyDefinitionRequest> for PropertyDefinitionRequest
impl PartialEq<PropertyDefinitionRequest> for PropertyDefinitionRequest
sourcefn eq(&self, other: &PropertyDefinitionRequest) -> bool
fn eq(&self, other: &PropertyDefinitionRequest) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PropertyDefinitionRequest) -> bool
fn ne(&self, other: &PropertyDefinitionRequest) -> bool
This method tests for !=.
impl StructuralPartialEq for PropertyDefinitionRequest
Auto Trait Implementations
impl RefUnwindSafe for PropertyDefinitionRequest
impl Send for PropertyDefinitionRequest
impl Sync for PropertyDefinitionRequest
impl Unpin for PropertyDefinitionRequest
impl UnwindSafe for PropertyDefinitionRequest
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