pub struct EntitySummary {
pub id: u64,
pub tag: String,
pub text: String,
pub role: String,
pub href: String,
pub classes: String,
pub intent: String,
pub is_interactive: bool,
pub parent_id: u64,
}Expand description
Summary of a single entity for agent consumption.
Fields§
§id: u64§tag: String§text: String§role: String§href: String§classes: String§intent: String§is_interactive: bool§parent_id: u64Trait Implementations§
Source§impl Clone for EntitySummary
impl Clone for EntitySummary
Source§fn clone(&self) -> EntitySummary
fn clone(&self) -> EntitySummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EntitySummary
impl Debug for EntitySummary
Source§impl<'de> Deserialize<'de> for EntitySummary
impl<'de> Deserialize<'de> for EntitySummary
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 EntitySummary
impl RefUnwindSafe for EntitySummary
impl Send for EntitySummary
impl Sync for EntitySummary
impl Unpin for EntitySummary
impl UnsafeUnpin for EntitySummary
impl UnwindSafe for EntitySummary
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