pub struct FeatureDescriptor {
pub name: String,
pub unit: Option<String>,
pub transform: Option<String>,
pub constraint: Option<FeatureConstraint>,
pub metadata: BTreeMap<String, String>,
}Expand description
Semantic description of one ordered input feature.
Fields§
§name: StringStable feature name.
unit: Option<String>Optional unit such as seconds or bytes.
transform: Option<String>Optional caller-defined transform identifier.
constraint: Option<FeatureConstraint>Optional numeric domain.
metadata: BTreeMap<String, String>Bounded semantic metadata. Ordered storage makes hashing canonical.
Implementations§
Trait Implementations§
Source§impl Clone for FeatureDescriptor
impl Clone for FeatureDescriptor
Source§fn clone(&self) -> FeatureDescriptor
fn clone(&self) -> FeatureDescriptor
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 FeatureDescriptor
impl Debug for FeatureDescriptor
Source§impl PartialEq for FeatureDescriptor
impl PartialEq for FeatureDescriptor
impl StructuralPartialEq for FeatureDescriptor
Auto Trait Implementations§
impl Freeze for FeatureDescriptor
impl RefUnwindSafe for FeatureDescriptor
impl Send for FeatureDescriptor
impl Sync for FeatureDescriptor
impl Unpin for FeatureDescriptor
impl UnsafeUnpin for FeatureDescriptor
impl UnwindSafe for FeatureDescriptor
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