pub struct PremiseSlot {
pub name: String,
pub description: String,
pub role: SlotRole,
}Expand description
A named premise slot in a scheme.
When instantiated with bindings, each slot maps to a concrete value (e.g., slot “expert” → “alice”).
Fields§
§name: StringSlot name (used as the binding key, e.g., “expert”, “claim”, “domain”).
description: StringHuman-readable description of what this slot represents.
role: SlotRoleWhat role this slot plays in the scheme.
Implementations§
Trait Implementations§
Source§impl Clone for PremiseSlot
impl Clone for PremiseSlot
Source§fn clone(&self) -> PremiseSlot
fn clone(&self) -> PremiseSlot
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 PremiseSlot
impl Debug for PremiseSlot
Source§impl PartialEq for PremiseSlot
impl PartialEq for PremiseSlot
impl Eq for PremiseSlot
impl StructuralPartialEq for PremiseSlot
Auto Trait Implementations§
impl Freeze for PremiseSlot
impl RefUnwindSafe for PremiseSlot
impl Send for PremiseSlot
impl Sync for PremiseSlot
impl Unpin for PremiseSlot
impl UnsafeUnpin for PremiseSlot
impl UnwindSafe for PremiseSlot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.