pub struct AgentPatternSlot {
pub name: Symbol,
pub description: Option<String>,
pub extra: Vec<(Symbol, Expr)>,
}Expand description
One named entry within an agent-pattern slot group.
Fields§
§name: SymbolSlot name.
description: Option<String>Optional human-readable description.
extra: Vec<(Symbol, Expr)>Extra caller-supplied table entries preserved verbatim.
Trait Implementations§
Source§impl Clone for AgentPatternSlot
impl Clone for AgentPatternSlot
Source§fn clone(&self) -> AgentPatternSlot
fn clone(&self) -> AgentPatternSlot
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 AgentPatternSlot
impl Debug for AgentPatternSlot
impl Eq for AgentPatternSlot
Source§impl PartialEq for AgentPatternSlot
impl PartialEq for AgentPatternSlot
Source§fn eq(&self, other: &AgentPatternSlot) -> bool
fn eq(&self, other: &AgentPatternSlot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentPatternSlot
Auto Trait Implementations§
impl Freeze for AgentPatternSlot
impl RefUnwindSafe for AgentPatternSlot
impl Send for AgentPatternSlot
impl Sync for AgentPatternSlot
impl Unpin for AgentPatternSlot
impl UnsafeUnpin for AgentPatternSlot
impl UnwindSafe for AgentPatternSlot
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