#[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: StringThe 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
impl StructuralPartialEq for EntityPropertyReference
Auto Trait Implementations§
impl Freeze for EntityPropertyReference
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.