pub struct EventsConfig {
pub auto_turn: bool,
}Expand description
Runtime event routing configuration parsed from events.* keys.
Controls how runtime events (from the EventQueue) are delivered in
server and RPC modes.
Fields§
§auto_turn: boolWhen true (default), the server/RPC session automatically triggers a
model turn when runtime events arrive while idle. Set
events.auto_turn = false (or 0 / no / off) to opt out.
Unrecognised values fail safe to false with a warning.
The built-in cap (AUTO_TURN_CAP = 5) still applies regardless.
Trait Implementations§
Source§impl Clone for EventsConfig
impl Clone for EventsConfig
Source§fn clone(&self) -> EventsConfig
fn clone(&self) -> EventsConfig
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 EventsConfig
impl Debug for EventsConfig
Auto Trait Implementations§
impl Freeze for EventsConfig
impl RefUnwindSafe for EventsConfig
impl Send for EventsConfig
impl Sync for EventsConfig
impl Unpin for EventsConfig
impl UnsafeUnpin for EventsConfig
impl UnwindSafe for EventsConfig
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