pub struct KonfigurationenProvider { /* private fields */ }Implementations§
Source§impl KonfigurationenProvider
impl KonfigurationenProvider
Sourcepub fn new(
categories: HashMap<String, Vec<String>>,
product_code: Option<String>,
) -> Self
pub fn new( categories: HashMap<String, Vec<String>>, product_code: Option<String>, ) -> Self
Create from pre-parsed categories and a product code to check.
Trait Implementations§
Source§impl ExternalConditionProvider for KonfigurationenProvider
impl ExternalConditionProvider for KonfigurationenProvider
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 KonfigurationenProvider
impl RefUnwindSafe for KonfigurationenProvider
impl Send for KonfigurationenProvider
impl Sync for KonfigurationenProvider
impl Unpin for KonfigurationenProvider
impl UnsafeUnpin for KonfigurationenProvider
impl UnwindSafe for KonfigurationenProvider
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