pub struct Entry {
pub id: String,
pub valid_from: Date,
pub valid_until: Option<Date>,
pub source: String,
pub clause: String,
pub value: Value,
pub pack: String,
}Expand description
One dated rule entry.
Fields§
§id: StringRule id, e.g. da.mtu.
valid_from: DateFirst delivery day the entry applies to.
valid_until: Option<Date>First delivery day it no longer applies to (exclusive), if any.
source: StringSource id.
clause: StringWhat the source says, in a sentence.
value: ValueThe value.
pack: StringThe pack file the entry came from.
Implementations§
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Forget for Entry
impl Freeze for Entry
impl Move for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
*const AlarmDef is !null: UnsafeUnpin,
PhantomData<AlarmDef>: UnsafeUnpin,
impl UnwindSafe for Entry
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