pub struct IRWindow {
pub node_type: &'static str,
pub source_line: u32,
pub source_column: u32,
pub name: String,
pub timezone: String,
pub allow: Vec<IRWindowSpan>,
pub exclude: Vec<String>,
pub on_outside: String,
}Expand description
§Fase 71.a — the lowered temporal execution-window guard. The runtime
(§71.b) evaluates is_in_window(now, tz, allow); the daemon binding +
coalesced defer ledger are §71.c/d.
Fields§
§node_type: &'static str§source_line: u32§source_column: u32§name: String§timezone: String§allow: Vec<IRWindowSpan>§exclude: Vec<String>§Fase 71.e — excluded dates (holidays): ISO YYYY-MM-DD literals. A tick
whose local date is in this set is OUTSIDE regardless of the hour spans.
skip_serializing_if keeps a holiday-less window’s JSON byte-identical.
on_outside: StringTrait Implementations§
Source§impl Serialize for IRWindow
impl Serialize for IRWindow
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IRWindow
impl RefUnwindSafe for IRWindow
impl Send for IRWindow
impl Sync for IRWindow
impl Unpin for IRWindow
impl UnsafeUnpin for IRWindow
impl UnwindSafe for IRWindow
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.