pub struct OriginSection {
pub version: String,
pub overrides: BTreeMap<String, bool>,
}Expand description
Which Origin version this product tracks.
Read by origin update to decide which migrations still have to run.
Fields§
§version: String§overrides: BTreeMap<String, bool>Deliberate deviations from an Origin recommendation (§46).
A migration skips whatever is listed here and reports it as a manual step instead of overwriting a decision someone made on purpose.
Trait Implementations§
Source§impl Clone for OriginSection
impl Clone for OriginSection
Source§fn clone(&self) -> OriginSection
fn clone(&self) -> OriginSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OriginSection
impl Debug for OriginSection
Source§impl<'de> Deserialize<'de> for OriginSection
impl<'de> Deserialize<'de> for OriginSection
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
Auto Trait Implementations§
impl Freeze for OriginSection
impl RefUnwindSafe for OriginSection
impl Send for OriginSection
impl Sync for OriginSection
impl Unpin for OriginSection
impl UnsafeUnpin for OriginSection
impl UnwindSafe for OriginSection
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