pub struct Key { /* private fields */ }Expand description
Location/service/date key that groups the demand and staffing facts a manager brief can rank.
Implementations§
Source§impl Key
impl Key
Sourcepub const fn new(
location_id: LocationId,
service_line: ServiceLine,
date: Date,
) -> Self
pub const fn new( location_id: LocationId, service_line: ServiceLine, date: Date, ) -> Self
Assembles the resort, service line, and operating day used before analytics can compare labor to demand.
Sourcepub const fn location_id(&self) -> LocationId
pub const fn location_id(&self) -> LocationId
Returns the resort/location whose staffing or capacity queue is being evaluated.
Sourcepub const fn service_line(&self) -> ServiceLine
pub const fn service_line(&self) -> ServiceLine
Returns the service line whose boarding, daycare, grooming, training, or retail demand is being grouped.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Key
impl<'de> Deserialize<'de> for Key
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Key
impl Ord for Key
Source§impl PartialOrd for Key
impl PartialOrd for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnsafeUnpin for Key
impl UnwindSafe for Key
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