pub struct Currency {
pub id: i32,
pub name: String,
pub category_id: i32,
pub category_name: String,
pub icon_file_id: i32,
pub max_qty: i32,
pub max_earnable_per_week: i32,
pub quality: i32,
pub order_index: i32,
pub flags: i32,
}Expand description
1:1 plain port of CurrencyTypes joined with CurrencyCategory.Name_lang.
Fields§
§id: i32§name: String§category_id: i32§category_name: String§icon_file_id: i32§max_qty: i32§max_earnable_per_week: i32§quality: i32§order_index: i32§flags: i32Trait Implementations§
Source§impl CopyInsert for Currency
impl CopyInsert for Currency
Source§impl<'de> Deserialize<'de> for Currency
impl<'de> Deserialize<'de> for Currency
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 Currency
impl RefUnwindSafe for Currency
impl Send for Currency
impl Sync for Currency
impl Unpin for Currency
impl UnsafeUnpin for Currency
impl UnwindSafe for Currency
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