pub struct EntityView {
pub entity_id: WireUuid,
pub entity_type_id: u32,
pub canonical_name: String,
pub normalized_name: String,
pub aliases: Vec<String>,
pub attributes_blob: Vec<u8>,
pub mention_count: u32,
pub created_at_unix_nanos: u64,
pub updated_at_unix_nanos: u64,
pub merged_into: WireUuid,
pub embedding_version: u32,
pub flags: u32,
}Expand description
Read-side view of an entity. Mirrors the server’s EntityView.
Fields§
§entity_id: WireUuid§entity_type_id: u32§canonical_name: String§normalized_name: String§aliases: Vec<String>§attributes_blob: Vec<u8>§mention_count: u32§created_at_unix_nanos: u64§updated_at_unix_nanos: u64§merged_into: WireUuid[0; 16] when not merged; consumers treat all-zero as None.
embedding_version: u32§flags: u32Trait Implementations§
Source§impl Clone for EntityView
impl Clone for EntityView
Source§impl Debug for EntityView
impl Debug for EntityView
Source§impl<'de> Deserialize<'de> for EntityView
impl<'de> Deserialize<'de> for EntityView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntityView
impl PartialEq for EntityView
Source§impl Serialize for EntityView
impl Serialize for EntityView
impl StructuralPartialEq for EntityView
Auto Trait Implementations§
impl Freeze for EntityView
impl RefUnwindSafe for EntityView
impl Send for EntityView
impl Sync for EntityView
impl Unpin for EntityView
impl UnsafeUnpin for EntityView
impl UnwindSafe for EntityView
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