pub enum PackagePolicy {
PayPerVisit,
PrepaidPasses {
visits: PackageVisits,
},
Membership,
}Expand description
Daycare payment/package model used for collection and recommendation workflows.
Variants§
PayPerVisit
Customer pays each visit without a prepaid package or membership covering attendance.
PrepaidPasses
Prepaid visit count available to apply against daycare attendance.
Fields
§
visits: PackageVisitsVisits carried by this variant.
Membership
Customer has a membership covering the daycare attendance path.
Trait Implementations§
Source§impl Clone for PackagePolicy
impl Clone for PackagePolicy
Source§fn clone(&self) -> PackagePolicy
fn clone(&self) -> PackagePolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackagePolicy
impl Debug for PackagePolicy
Source§impl<'de> Deserialize<'de> for PackagePolicy
impl<'de> Deserialize<'de> for PackagePolicy
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 PartialEq for PackagePolicy
impl PartialEq for PackagePolicy
Source§impl Serialize for PackagePolicy
impl Serialize for PackagePolicy
impl Copy for PackagePolicy
impl Eq for PackagePolicy
impl StructuralPartialEq for PackagePolicy
Auto Trait Implementations§
impl Freeze for PackagePolicy
impl RefUnwindSafe for PackagePolicy
impl Send for PackagePolicy
impl Sync for PackagePolicy
impl Unpin for PackagePolicy
impl UnsafeUnpin for PackagePolicy
impl UnwindSafe for PackagePolicy
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