pub struct Service<R> { /* private fields */ }Expand description
Service carried by the booking-readiness workflow; it keeps booking work grounded in deterministic policy evidence before any agent draft reaches staff.
Implementations§
Source§impl<R> Service<R>where
R: Repository,
impl<R> Service<R>where
R: Repository,
Sourcepub const fn new(reservations: R) -> Self
pub const fn new(reservations: R) -> Self
Builds the booking-triage service around a read-only reservation evidence repository.
Sourcepub fn evaluate(&self, id: Id) -> AppResult<StaffEvaluationPacket>
pub fn evaluate(&self, id: Id) -> AppResult<StaffEvaluationPacket>
Evaluates one reservation into a staff review packet using deterministic policy gates before any agent draft is allowed.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Service<R>where
R: Freeze,
impl<R> RefUnwindSafe for Service<R>where
R: RefUnwindSafe,
impl<R> Send for Service<R>where
R: Send,
impl<R> Sync for Service<R>where
R: Sync,
impl<R> Unpin for Service<R>where
R: Unpin,
impl<R> UnsafeUnpin for Service<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for Service<R>where
R: UnwindSafe,
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