#[non_exhaustive]pub struct EntityPropertyReference {
pub component_name: Option<String>,
pub component_path: Option<String>,
pub external_id_property: Option<HashMap<String, String>>,
pub entity_id: Option<String>,
pub property_name: String,
}
Expand description
An object that uniquely identifies an entity property.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.component_name: Option<String>
The name of the component.
component_path: Option<String>
This string specifies the path to the composite component, starting from the top-level component.
external_id_property: Option<HashMap<String, String>>
A mapping of external IDs to property names. External IDs uniquely identify properties from external data stores.
entity_id: Option<String>
The ID of the entity.
property_name: String
The name of the property.
Implementations§
source§impl EntityPropertyReference
impl EntityPropertyReference
sourcepub fn component_name(&self) -> Option<&str>
pub fn component_name(&self) -> Option<&str>
The name of the component.
sourcepub fn component_path(&self) -> Option<&str>
pub fn component_path(&self) -> Option<&str>
This string specifies the path to the composite component, starting from the top-level component.
sourcepub fn external_id_property(&self) -> Option<&HashMap<String, String>>
pub fn external_id_property(&self) -> Option<&HashMap<String, String>>
A mapping of external IDs to property names. External IDs uniquely identify properties from external data stores.
sourcepub fn property_name(&self) -> &str
pub fn property_name(&self) -> &str
The name of the property.
source§impl EntityPropertyReference
impl EntityPropertyReference
sourcepub fn builder() -> EntityPropertyReferenceBuilder
pub fn builder() -> EntityPropertyReferenceBuilder
Creates a new builder-style object to manufacture EntityPropertyReference
.
Trait Implementations§
source§impl Clone for EntityPropertyReference
impl Clone for EntityPropertyReference
source§fn clone(&self) -> EntityPropertyReference
fn clone(&self) -> EntityPropertyReference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EntityPropertyReference
impl Debug for EntityPropertyReference
source§impl PartialEq for EntityPropertyReference
impl PartialEq for EntityPropertyReference
source§fn eq(&self, other: &EntityPropertyReference) -> bool
fn eq(&self, other: &EntityPropertyReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EntityPropertyReference
Auto Trait Implementations§
impl RefUnwindSafe for EntityPropertyReference
impl Send for EntityPropertyReference
impl Sync for EntityPropertyReference
impl Unpin for EntityPropertyReference
impl UnwindSafe for EntityPropertyReference
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.