pub struct FeatureValue {
pub feature_column: Option<String>,
pub numerical_value: Option<f64>,
pub categorical_value: Option<CategoricalValue>,
}
Fields§
§feature_column: Option<String>
The feature column name.
numerical_value: Option<f64>
The numerical feature value. This is the centroid value for this feature.
categorical_value: Option<CategoricalValue>
The categorical feature value.
Trait Implementations§
Source§impl Clone for FeatureValue
impl Clone for FeatureValue
Source§fn clone(&self) -> FeatureValue
fn clone(&self) -> FeatureValue
Returns a copy 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 FeatureValue
impl Debug for FeatureValue
Source§impl Default for FeatureValue
impl Default for FeatureValue
Source§fn default() -> FeatureValue
fn default() -> FeatureValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeatureValue
impl<'de> Deserialize<'de> for FeatureValue
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 FeatureValue
impl RefUnwindSafe for FeatureValue
impl Send for FeatureValue
impl Sync for FeatureValue
impl Unpin for FeatureValue
impl UnwindSafe for FeatureValue
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request