pub struct User {
pub id: Uuid,
pub balance: Decimal,
pub behaviour: UserBehaviour,
}
Expand description
User.
Fields§
§id: Uuid
ID for the user.
balance: Decimal
Balance of the user.
behaviour: UserBehaviour
Market behaviour of the user.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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