pub enum AdaptationLevel {
Original,
MinorAdaptation,
MajorAdaptation,
FullyAdapted,
}Expand description
Current adaptation level.
Variants§
Original
Original contract, no adaptations.
MinorAdaptation
Minor adaptations applied.
MajorAdaptation
Significant adaptations applied.
FullyAdapted
Substantially different from original.
Trait Implementations§
Source§impl Clone for AdaptationLevel
impl Clone for AdaptationLevel
Source§fn clone(&self) -> AdaptationLevel
fn clone(&self) -> AdaptationLevel
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 AdaptationLevel
impl Debug for AdaptationLevel
Source§impl<'de> Deserialize<'de> for AdaptationLevel
impl<'de> Deserialize<'de> for AdaptationLevel
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 AdaptationLevel
impl PartialEq for AdaptationLevel
Source§impl Serialize for AdaptationLevel
impl Serialize for AdaptationLevel
impl Copy for AdaptationLevel
impl Eq for AdaptationLevel
impl StructuralPartialEq for AdaptationLevel
Auto Trait Implementations§
impl Freeze for AdaptationLevel
impl RefUnwindSafe for AdaptationLevel
impl Send for AdaptationLevel
impl Sync for AdaptationLevel
impl Unpin for AdaptationLevel
impl UnsafeUnpin for AdaptationLevel
impl UnwindSafe for AdaptationLevel
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