pub enum ProgramRecord {
StayAndStudy {
duration_weeks: StoredProgramDurationWeeks,
},
TutorSession,
GroupClass,
PuppyKindergarten,
PrivateLesson,
AkcCanineGoodCitizenPrep,
}Expand description
Storage-facing training program code, including duration for stay-and-study programs.
Variants§
StayAndStudy
Stable storage code for stay and study.
Fields
§
duration_weeks: StoredProgramDurationWeeksTraining duration in weeks for stay-and-study programs.
TutorSession
Stable storage code for tutor session.
GroupClass
Stable storage code for group class.
PuppyKindergarten
Stable storage code for puppy kindergarten.
PrivateLesson
Stable storage code for private lesson.
AkcCanineGoodCitizenPrep
Stable storage code for akc canine good citizen prep.
Trait Implementations§
Source§impl Clone for ProgramRecord
impl Clone for ProgramRecord
Source§fn clone(&self) -> ProgramRecord
fn clone(&self) -> ProgramRecord
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 ProgramRecord
impl Debug for ProgramRecord
Source§impl<'de> Deserialize<'de> for ProgramRecord
impl<'de> Deserialize<'de> for ProgramRecord
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 ProgramRecord
impl PartialEq for ProgramRecord
Source§impl Serialize for ProgramRecord
impl Serialize for ProgramRecord
Source§impl TryFrom<Program> for ProgramRecord
impl TryFrom<Program> for ProgramRecord
Source§impl TryFrom<ProgramRecord> for Program
impl TryFrom<ProgramRecord> for Program
impl Copy for ProgramRecord
impl Eq for ProgramRecord
impl StructuralPartialEq for ProgramRecord
Auto Trait Implementations§
impl Freeze for ProgramRecord
impl RefUnwindSafe for ProgramRecord
impl Send for ProgramRecord
impl Sync for ProgramRecord
impl Unpin for ProgramRecord
impl UnsafeUnpin for ProgramRecord
impl UnwindSafe for ProgramRecord
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