pub struct CapacityExtensions(/* private fields */);Expand description
Metadata this build does not interpret, preserved verbatim.
The same guarantee the sibling registries give their records
(crate::cycle_schedule::config::CycleScheduleExtensions,
crate::roadmap::registry::InitiativeExtensions): a key a newer tix adds must
survive an edit-and-save round trip instead of being dropped. The one rule it cannot
break is that a preserved key must not shadow a built-in field — a file can never
deliver such a key (serde matches the known field first), but the public write path
could inject one, and toml serializes duplicate table keys without complaining, so
the write would appear to succeed while the next load failed on a duplicate key.
validate refuses it instead.
Implementations§
Trait Implementations§
Source§impl Clone for CapacityExtensions
impl Clone for CapacityExtensions
Source§impl Debug for CapacityExtensions
impl Debug for CapacityExtensions
Source§impl Default for CapacityExtensions
impl Default for CapacityExtensions
Source§impl<'de> Deserialize<'de> for CapacityExtensions
impl<'de> Deserialize<'de> for CapacityExtensions
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
impl Eq for CapacityExtensions
Source§impl PartialEq for CapacityExtensions
impl PartialEq for CapacityExtensions
Auto Trait Implementations§
impl Freeze for CapacityExtensions
impl RefUnwindSafe for CapacityExtensions
impl Send for CapacityExtensions
impl Sync for CapacityExtensions
impl Unpin for CapacityExtensions
impl UnsafeUnpin for CapacityExtensions
impl UnwindSafe for CapacityExtensions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more