pub struct PostOrder {
pub item_id: String,
pub type: Type,
pub platinum: i32,
pub quantity: i32,
pub per_trade: Option<i8>,
pub rank: Option<i8>,
pub charges: Option<i8>,
pub sub_type: Option<String>,
pub amber_stars: Option<i8>,
pub cyan_stars: Option<i8>,
pub visible: bool,
}Expand description
The struct required to create a new order
Fields§
§item_id: String§type: Type§platinum: i32§quantity: i32§per_trade: Option<i8>§rank: Option<i8>§charges: Option<i8>§sub_type: Option<String>§amber_stars: Option<i8>§cyan_stars: Option<i8>§visible: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for PostOrder
impl<'de> Deserialize<'de> for PostOrder
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 PostOrder
impl RefUnwindSafe for PostOrder
impl Send for PostOrder
impl Sync for PostOrder
impl Unpin for PostOrder
impl UnwindSafe for PostOrder
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