yadi 1.0.0-alpha

YaDI is yet another dependency injection framework for writing applications with the Rust programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::domain::vo::{EntryId, LifeTime};

pub(crate) struct Entry {
    id: EntryId,
    life_time: LifeTime,
}

impl Entry {
    pub fn new(id: EntryId, life_time: LifeTime) -> Self {
        Self { id, life_time }
    }
}