pub struct ExtractorContract {
pub name: String,
pub window_size: usize,
pub trigger: String,
pub promotions: Vec<PromotionContract>,
}Expand description
A turn extractor declaration.
Fields§
§name: StringExtractor name.
window_size: usizeRecent transcript turns consumed.
trigger: StringTrigger mode.
promotions: Vec<PromotionContract>Explicit promotion policy. Empty means legacy auto-flatten behavior.
Trait Implementations§
Source§impl Clone for ExtractorContract
impl Clone for ExtractorContract
Source§fn clone(&self) -> ExtractorContract
fn clone(&self) -> ExtractorContract
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 ExtractorContract
impl Debug for ExtractorContract
Source§impl<'de> Deserialize<'de> for ExtractorContract
impl<'de> Deserialize<'de> for ExtractorContract
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 ExtractorContract
impl RefUnwindSafe for ExtractorContract
impl Send for ExtractorContract
impl Sync for ExtractorContract
impl Unpin for ExtractorContract
impl UnwindSafe for ExtractorContract
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