pub struct AgentField {
pub name: String,
pub value: Expression,
pub span: Span,
}Expand description
A field in an agent declaration: name: value
Fields§
§name: String§value: Expression§span: SpanTrait Implementations§
Source§impl Clone for AgentField
impl Clone for AgentField
Source§fn clone(&self) -> AgentField
fn clone(&self) -> AgentField
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 AgentField
impl Debug for AgentField
Source§impl PartialEq for AgentField
impl PartialEq for AgentField
impl StructuralPartialEq for AgentField
Auto Trait Implementations§
impl Freeze for AgentField
impl RefUnwindSafe for AgentField
impl Send for AgentField
impl Sync for AgentField
impl Unpin for AgentField
impl UnwindSafe for AgentField
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