pub enum StaffCountError {
Zero,
}Expand description
Validation failure returned when a required positive daycare scalar is zero.
Variants§
Zero
Rejects zero where the pet-resort workflow requires a positive quantity.
Trait Implementations§
Source§impl Clone for StaffCountError
impl Clone for StaffCountError
Source§fn clone(&self) -> StaffCountError
fn clone(&self) -> StaffCountError
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 StaffCountError
impl Debug for StaffCountError
Source§impl Display for StaffCountError
impl Display for StaffCountError
Source§impl Error for StaffCountError
impl Error for StaffCountError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for StaffCountError
impl PartialEq for StaffCountError
impl Copy for StaffCountError
impl Eq for StaffCountError
impl StructuralPartialEq for StaffCountError
Auto Trait Implementations§
impl Freeze for StaffCountError
impl RefUnwindSafe for StaffCountError
impl Send for StaffCountError
impl Sync for StaffCountError
impl Unpin for StaffCountError
impl UnsafeUnpin for StaffCountError
impl UnwindSafe for StaffCountError
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