Struct aws_sdk_iotfleetwise::types::CustomProperty
source · #[non_exhaustive]pub struct CustomProperty {
pub fully_qualified_name: String,
pub data_type: NodeDataType,
pub data_encoding: Option<NodeDataEncoding>,
pub description: Option<String>,
pub deprecation_message: Option<String>,
pub comment: Option<String>,
pub struct_fully_qualified_name: Option<String>,
}Expand description
Represents a member of the complex data structure. The data type of the property can be either primitive or another struct.
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.fully_qualified_name: StringThe fully qualified name of the custom property. For example, the fully qualified name of a custom property might be ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS.
data_type: NodeDataTypeThe data type for the custom property.
data_encoding: Option<NodeDataEncoding>Indicates whether the property is binary data.
description: Option<String>A brief description of the custom property.
deprecation_message: Option<String>The deprecation message for the node or the branch that was moved or deleted.
comment: Option<String>A comment in addition to the description.
struct_fully_qualified_name: Option<String>The fully qualified name of the struct node for the custom property if the data type of the custom property is Struct or StructArray.
Implementations§
source§impl CustomProperty
impl CustomProperty
sourcepub fn fully_qualified_name(&self) -> &str
pub fn fully_qualified_name(&self) -> &str
The fully qualified name of the custom property. For example, the fully qualified name of a custom property might be ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS.
sourcepub fn data_type(&self) -> &NodeDataType
pub fn data_type(&self) -> &NodeDataType
The data type for the custom property.
sourcepub fn data_encoding(&self) -> Option<&NodeDataEncoding>
pub fn data_encoding(&self) -> Option<&NodeDataEncoding>
Indicates whether the property is binary data.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the custom property.
sourcepub fn deprecation_message(&self) -> Option<&str>
pub fn deprecation_message(&self) -> Option<&str>
The deprecation message for the node or the branch that was moved or deleted.
sourcepub fn struct_fully_qualified_name(&self) -> Option<&str>
pub fn struct_fully_qualified_name(&self) -> Option<&str>
The fully qualified name of the struct node for the custom property if the data type of the custom property is Struct or StructArray.
source§impl CustomProperty
impl CustomProperty
sourcepub fn builder() -> CustomPropertyBuilder
pub fn builder() -> CustomPropertyBuilder
Creates a new builder-style object to manufacture CustomProperty.
Trait Implementations§
source§impl Clone for CustomProperty
impl Clone for CustomProperty
source§fn clone(&self) -> CustomProperty
fn clone(&self) -> CustomProperty
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomProperty
impl Debug for CustomProperty
source§impl PartialEq for CustomProperty
impl PartialEq for CustomProperty
source§fn eq(&self, other: &CustomProperty) -> bool
fn eq(&self, other: &CustomProperty) -> bool
self and other values to be equal, and is used
by ==.