pub struct UserBadge {Show 18 fields
pub _id: String,
pub user_id: String,
pub badge_id: String,
pub from_tenant_id: String,
pub created_at: String,
pub type: i32,
pub threshold: i64,
pub description: String,
pub display_label: String,
pub display_src: Option<Option<String>>,
pub background_color: Option<Option<String>>,
pub border_color: Option<Option<String>>,
pub text_color: Option<Option<String>>,
pub css_class: Option<Option<String>>,
pub veteran_user_threshold_millis: i64,
pub displayed_on_comments: bool,
pub received_at: String,
pub order: Option<i32>,
}Fields§
§_id: String§user_id: String§badge_id: String§from_tenant_id: String§created_at: String§type: i32§threshold: i64§description: String§display_label: String§display_src: Option<Option<String>>§background_color: Option<Option<String>>§border_color: Option<Option<String>>§text_color: Option<Option<String>>§css_class: Option<Option<String>>§veteran_user_threshold_millis: i64§displayed_on_comments: bool§received_at: String§order: Option<i32>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserBadge
impl<'de> Deserialize<'de> for UserBadge
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
impl StructuralPartialEq for UserBadge
Auto Trait Implementations§
impl Freeze for UserBadge
impl RefUnwindSafe for UserBadge
impl Send for UserBadge
impl Sync for UserBadge
impl Unpin for UserBadge
impl UnwindSafe for UserBadge
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