pub struct KnowledgeEntity {
pub id: i64,
pub name: String,
pub entity_type: String,
pub properties: Value,
pub created_at: String,
}Expand description
An entity in a fighter’s knowledge graph.
Fields§
§id: i64§name: String§entity_type: String§properties: Value§created_at: StringTrait Implementations§
Source§impl Clone for KnowledgeEntity
impl Clone for KnowledgeEntity
Source§fn clone(&self) -> KnowledgeEntity
fn clone(&self) -> KnowledgeEntity
Returns a duplicate 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 KnowledgeEntity
impl Debug for KnowledgeEntity
Source§impl<'de> Deserialize<'de> for KnowledgeEntity
impl<'de> Deserialize<'de> for KnowledgeEntity
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
Auto Trait Implementations§
impl Freeze for KnowledgeEntity
impl RefUnwindSafe for KnowledgeEntity
impl Send for KnowledgeEntity
impl Sync for KnowledgeEntity
impl Unpin for KnowledgeEntity
impl UnsafeUnpin for KnowledgeEntity
impl UnwindSafe for KnowledgeEntity
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