pub enum ReasonType {
Need(bool),
Text(String),
}Variants§
Trait Implementations§
Source§impl Clone for ReasonType
impl Clone for ReasonType
Source§fn clone(&self) -> ReasonType
fn clone(&self) -> ReasonType
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 ReasonType
impl Debug for ReasonType
Source§impl PartialEq for ReasonType
impl PartialEq for ReasonType
impl Eq for ReasonType
impl StructuralPartialEq for ReasonType
Auto Trait Implementations§
impl Freeze for ReasonType
impl RefUnwindSafe for ReasonType
impl Send for ReasonType
impl Sync for ReasonType
impl Unpin for ReasonType
impl UnwindSafe for ReasonType
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