pub struct SectorProvider { /* private fields */ }Expand description
Provider that resolves sector-based conditions from deployment configuration.
Implementations§
Trait Implementations§
Source§impl ExternalConditionProvider for SectorProvider
impl ExternalConditionProvider for SectorProvider
Source§fn evaluate(&self, condition_name: &str) -> ConditionResult
fn evaluate(&self, condition_name: &str) -> ConditionResult
Evaluate an external condition by name. Read more
Source§fn now(&self) -> DateTime<Utc>
fn now(&self) -> DateTime<Utc>
The present moment, for conditions that compare against it: UTILMD
[494] “das hier genannte Datum muss der Zeitpunkt sein, zu dem das
Dokument erstellt wurde, oder ein Zeitpunkt, der davor liegt”. The
wall clock by default; a caller on a simulated clock overrides it.Auto Trait Implementations§
impl Freeze for SectorProvider
impl RefUnwindSafe for SectorProvider
impl Send for SectorProvider
impl Sync for SectorProvider
impl Unpin for SectorProvider
impl UnsafeUnpin for SectorProvider
impl UnwindSafe for SectorProvider
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