pub struct Shares {
pub count: u64,
pub nominal: Money,
}Expand description
A number of shares of one nominal amount: {"count": 512, "nominal": 2 EUR} – a share capital of 1,024 euros in
512 shares of 2 euros. Shares are counted in whole numbers; fractions of the capital follow from the counts.
Fields§
§count: u64How many, at least 1.
nominal: MoneyThe nominal amount of each, above zero.
Trait Implementations§
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§
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