pub struct RunPolicyChanged {
pub policy: RunPolicy,
pub by: Who,
}Expand description
run_policy_changed: the room’s run policy, changed while a session
is open (crates/kernel/spec/Event/Record.lean D21).
The run under way reads it at its next safe point and passes the
gate under it from that step on; the next run’s run_started.policy
is the room’s last change. The model and the effort stay what the
session froze.
Fields§
§policy: RunPolicy§by: WhoTrait Implementations§
Source§impl Clone for RunPolicyChanged
impl Clone for RunPolicyChanged
Source§impl Debug for RunPolicyChanged
impl Debug for RunPolicyChanged
Source§impl<'de> Deserialize<'de> for RunPolicyChanged
impl<'de> Deserialize<'de> for RunPolicyChanged
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
impl Eq for RunPolicyChanged
Source§impl PartialEq for RunPolicyChanged
impl PartialEq for RunPolicyChanged
Source§impl Serialize for RunPolicyChanged
impl Serialize for RunPolicyChanged
impl StructuralPartialEq for RunPolicyChanged
Auto Trait Implementations§
impl Freeze for RunPolicyChanged
impl RefUnwindSafe for RunPolicyChanged
impl Send for RunPolicyChanged
impl Sync for RunPolicyChanged
impl Unpin for RunPolicyChanged
impl UnsafeUnpin for RunPolicyChanged
impl UnwindSafe for RunPolicyChanged
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