pub struct Order {Show 15 fields
pub id: String,
pub type: OrderType,
pub platinum: u32,
pub quantity: u32,
pub per_trade: Option<u8>,
pub rank: Option<u8>,
pub charges: Option<u8>,
pub subtype: Option<String>,
pub amber_stars: Option<u8>,
pub cyan_stars: Option<u8>,
pub visible: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub item_id: String,
pub group: Option<String>,
}Fields§
§id: StringIs the unique identifier of the order.
type: OrderTypeSpecifies whether the order is a ‘buy’ or ‘sell’.
platinum: u32Is the total platinum currency involved in the order.
quantity: u32Represents the number of items included in the order.
per_trade: Option<u8>(optional) indicates the items quantity per transaction.
rank: Option<u8>(optional) specifies the rank or level of the item in the order.
charges: Option<u8>(optional) specifies number of charges left (used in requiem mods).
subtype: Option<String>(optional) defines the specific subtype or category of the item.
amber_stars: Option<u8>(optional) denotes the count of amber stars in a sculpture order.
cyan_stars: Option<u8>(optional) denotes the count of cyan stars in a sculpture order.
visible: bool(auth\mod) Indicates whether the order is publicly visible or not.
created_at: DateTime<Utc>Records the creation time of the order.
updated_at: DateTime<Utc>Records the last modification time of the order.
item_id: StringIs the unique identifier of the item involved in the order.
group: Option<String>User-defined group to which the order belongs
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
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>,
Source§impl Ord for Order
impl Ord for Order
Source§impl PartialOrd for Order
impl PartialOrd for Order
impl Eq for Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.