pub struct FeatureLevelRecord {
pub name: String,
pub level: i16,
}Expand description
KIP-584 finalized feature level. level is the finalized
max_version_level for name. level == 0 is the KIP-584 sentinel
for “delete this finalized feature” — MetadataImage::apply removes the
entry rather than storing a zero. Replacement semantics: a later record
with the same name overwrites the previous level.
Fields§
§name: String§level: i16Trait Implementations§
Source§impl Clone for FeatureLevelRecord
impl Clone for FeatureLevelRecord
Source§fn clone(&self) -> FeatureLevelRecord
fn clone(&self) -> FeatureLevelRecord
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 FeatureLevelRecord
impl Debug for FeatureLevelRecord
Source§impl<'de> Deserialize<'de> for FeatureLevelRecord
impl<'de> Deserialize<'de> for FeatureLevelRecord
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 FeatureLevelRecord
Source§impl PartialEq for FeatureLevelRecord
impl PartialEq for FeatureLevelRecord
Source§fn eq(&self, other: &FeatureLevelRecord) -> bool
fn eq(&self, other: &FeatureLevelRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FeatureLevelRecord
impl Serialize for FeatureLevelRecord
impl StructuralPartialEq for FeatureLevelRecord
Auto Trait Implementations§
impl Freeze for FeatureLevelRecord
impl RefUnwindSafe for FeatureLevelRecord
impl Send for FeatureLevelRecord
impl Sync for FeatureLevelRecord
impl Unpin for FeatureLevelRecord
impl UnsafeUnpin for FeatureLevelRecord
impl UnwindSafe for FeatureLevelRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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