pub struct PredictionFeatures {
pub user_id: Option<String>,
pub current_app: Option<String>,
pub history: Vec<String>,
pub hour_bucket: Option<u8>,
pub weekday: Option<u8>,
pub event_type: Option<String>,
}Fields§
§user_id: Option<String>§current_app: Option<String>§history: Vec<String>§hour_bucket: Option<u8>§weekday: Option<u8>§event_type: Option<String>Trait Implementations§
Source§impl Clone for PredictionFeatures
impl Clone for PredictionFeatures
Source§fn clone(&self) -> PredictionFeatures
fn clone(&self) -> PredictionFeatures
Returns a duplicate 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 PredictionFeatures
impl Debug for PredictionFeatures
Source§impl Default for PredictionFeatures
impl Default for PredictionFeatures
Source§fn default() -> PredictionFeatures
fn default() -> PredictionFeatures
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PredictionFeatures
impl RefUnwindSafe for PredictionFeatures
impl Send for PredictionFeatures
impl Sync for PredictionFeatures
impl Unpin for PredictionFeatures
impl UnsafeUnpin for PredictionFeatures
impl UnwindSafe for PredictionFeatures
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