#[non_exhaustive]pub struct PropertyDefinitionResponse {
pub data_type: Option<DataType>,
pub is_time_series: Option<bool>,
pub is_required_in_entity: Option<bool>,
pub is_external_id: Option<bool>,
pub is_stored_externally: Option<bool>,
pub is_imported: Option<bool>,
pub is_final: Option<bool>,
pub is_inherited: Option<bool>,
pub default_value: Option<DataValue>,
pub configuration: Option<HashMap<String, String>>,
}Expand description
An object that contains response data from a property definition request.
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_time_series: Option<bool>A Boolean value that specifies whether the property consists of time series data.
is_required_in_entity: Option<bool>A Boolean value that specifies whether the property is required in an entity.
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_imported: Option<bool>A Boolean value that specifies whether the property definition is imported from an external data store.
is_final: Option<bool>A Boolean value that specifies whether the property definition can be updated.
is_inherited: Option<bool>A Boolean value that specifies whether the property definition is inherited from a parent entity.
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.
Implementations
sourceimpl PropertyDefinitionResponse
impl PropertyDefinitionResponse
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_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 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 in an entity.
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_imported(&self) -> Option<bool>
pub fn is_imported(&self) -> Option<bool>
A Boolean value that specifies whether the property definition is imported from an external data store.
sourcepub fn is_final(&self) -> Option<bool>
pub fn is_final(&self) -> Option<bool>
A Boolean value that specifies whether the property definition can be updated.
sourcepub fn is_inherited(&self) -> Option<bool>
pub fn is_inherited(&self) -> Option<bool>
A Boolean value that specifies whether the property definition is inherited from a parent entity.
sourcepub fn default_value(&self) -> Option<&DataValue>
pub fn default_value(&self) -> Option<&DataValue>
An object that contains the default value.
sourceimpl PropertyDefinitionResponse
impl PropertyDefinitionResponse
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PropertyDefinitionResponse
Trait Implementations
sourceimpl Clone for PropertyDefinitionResponse
impl Clone for PropertyDefinitionResponse
sourcefn clone(&self) -> PropertyDefinitionResponse
fn clone(&self) -> PropertyDefinitionResponse
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 PropertyDefinitionResponse
impl Debug for PropertyDefinitionResponse
sourceimpl PartialEq<PropertyDefinitionResponse> for PropertyDefinitionResponse
impl PartialEq<PropertyDefinitionResponse> for PropertyDefinitionResponse
sourcefn eq(&self, other: &PropertyDefinitionResponse) -> bool
fn eq(&self, other: &PropertyDefinitionResponse) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PropertyDefinitionResponse) -> bool
fn ne(&self, other: &PropertyDefinitionResponse) -> bool
This method tests for !=.
impl StructuralPartialEq for PropertyDefinitionResponse
Auto Trait Implementations
impl RefUnwindSafe for PropertyDefinitionResponse
impl Send for PropertyDefinitionResponse
impl Sync for PropertyDefinitionResponse
impl Unpin for PropertyDefinitionResponse
impl UnwindSafe for PropertyDefinitionResponse
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