pub struct ApiStrategy {
pub history: i64,
pub present: i16,
pub choices: i64,
pub accumulated: BTreeMap<String, f32>,
pub counts: BTreeMap<String, u32>,
}Fields§
§history: i64§present: i16§choices: i64§accumulated: BTreeMap<String, f32>§counts: BTreeMap<String, u32>Trait Implementations§
Source§impl Debug for ApiStrategy
impl Debug for ApiStrategy
Source§impl<'de> Deserialize<'de> for ApiStrategy
impl<'de> Deserialize<'de> for ApiStrategy
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 ApiStrategy
impl RefUnwindSafe for ApiStrategy
impl Send for ApiStrategy
impl Sync for ApiStrategy
impl Unpin for ApiStrategy
impl UnwindSafe for ApiStrategy
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