pub struct UserBadgeProgress {
pub _id: String,
pub tenant_id: String,
pub user_id: String,
pub first_comment_id: String,
pub first_comment_date: String,
pub auto_trust_factor: Option<f64>,
pub manual_trust_factor: Option<f64>,
pub progress: HashMap<String, f64>,
}Fields§
§_id: String§tenant_id: String§user_id: String§first_comment_id: String§first_comment_date: String§auto_trust_factor: Option<f64>§manual_trust_factor: Option<f64>§progress: HashMap<String, f64>Construct a type with a set of properties K of type T
Implementations§
Trait Implementations§
Source§impl Clone for UserBadgeProgress
impl Clone for UserBadgeProgress
Source§fn clone(&self) -> UserBadgeProgress
fn clone(&self) -> UserBadgeProgress
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 UserBadgeProgress
impl Debug for UserBadgeProgress
Source§impl Default for UserBadgeProgress
impl Default for UserBadgeProgress
Source§fn default() -> UserBadgeProgress
fn default() -> UserBadgeProgress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserBadgeProgress
impl<'de> Deserialize<'de> for UserBadgeProgress
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
Source§impl PartialEq for UserBadgeProgress
impl PartialEq for UserBadgeProgress
Source§impl Serialize for UserBadgeProgress
impl Serialize for UserBadgeProgress
impl StructuralPartialEq for UserBadgeProgress
Auto Trait Implementations§
impl Freeze for UserBadgeProgress
impl RefUnwindSafe for UserBadgeProgress
impl Send for UserBadgeProgress
impl Sync for UserBadgeProgress
impl Unpin for UserBadgeProgress
impl UnwindSafe for UserBadgeProgress
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