pub struct UserProject {
pub credit: f64,
pub discount: u32,
pub id: String,
pub name: String,
}Fields§
§credit: f64§discount: u32§id: String§name: StringTrait Implementations§
Source§impl Debug for UserProject
impl Debug for UserProject
Source§impl Default for UserProject
impl Default for UserProject
Source§fn default() -> UserProject
fn default() -> UserProject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserProject
impl<'de> Deserialize<'de> for UserProject
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 UserProject
impl RefUnwindSafe for UserProject
impl Send for UserProject
impl Sync for UserProject
impl Unpin for UserProject
impl UnwindSafe for UserProject
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