pub struct InventoryDrop {Show 14 fields
pub author_id: String,
pub created_at: DateTime<FixedOffset>,
pub drop_expiry_date: Option<DateTime<FixedOffset>>,
pub drop_status: Option<String>,
pub end_drop_date: DateTime<FixedOffset>,
pub id: String,
pub is_disabled: bool,
pub name: String,
pub notification_details: InventoryNotificationDetails,
pub start_drop_date: DateTime<FixedOffset>,
pub tags: Vec<String>,
pub target_group: String,
pub template_ids: Vec<String>,
pub updated_at: DateTime<FixedOffset>,
}Fields§
A users unique ID, usually in the form of usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469. Legacy players can have old IDs in the form of 8JoV9XEdpo. The ID can never be changed.
created_at: DateTime<FixedOffset>§drop_expiry_date: Option<DateTime<FixedOffset>>§drop_status: Option<String>§end_drop_date: DateTime<FixedOffset>§id: String§is_disabled: bool§name: String§notification_details: InventoryNotificationDetails§start_drop_date: DateTime<FixedOffset>§target_group: String§template_ids: Vec<String>§updated_at: DateTime<FixedOffset>Implementations§
Source§impl InventoryDrop
impl InventoryDrop
pub fn new( author_id: String, created_at: DateTime<FixedOffset>, drop_expiry_date: Option<DateTime<FixedOffset>>, end_drop_date: DateTime<FixedOffset>, id: String, is_disabled: bool, name: String, notification_details: InventoryNotificationDetails, start_drop_date: DateTime<FixedOffset>, tags: Vec<String>, target_group: String, template_ids: Vec<String>, updated_at: DateTime<FixedOffset>, ) -> InventoryDrop
Trait Implementations§
Source§impl Clone for InventoryDrop
impl Clone for InventoryDrop
Source§impl Debug for InventoryDrop
impl Debug for InventoryDrop
Source§impl Default for InventoryDrop
impl Default for InventoryDrop
Source§impl<'de> Deserialize<'de> for InventoryDrop
impl<'de> Deserialize<'de> for InventoryDrop
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
Source§impl PartialEq for InventoryDrop
impl PartialEq for InventoryDrop
Source§impl Serialize for InventoryDrop
impl Serialize for InventoryDrop
impl StructuralPartialEq for InventoryDrop
Auto Trait Implementations§
impl Freeze for InventoryDrop
impl RefUnwindSafe for InventoryDrop
impl Send for InventoryDrop
impl Sync for InventoryDrop
impl Unpin for InventoryDrop
impl UnsafeUnpin for InventoryDrop
impl UnwindSafe for InventoryDrop
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