pub struct Mail {
pub combat_log: Vec<CombatLogEntry>,
pub inbox_capacity: u16,
pub inbox: Vec<InboxEntry>,
pub claimables: Vec<ClaimableMail>,
pub open_msg: Option<String>,
pub open_claimable: Option<ClaimablePreview>,
}
Fields§
§combat_log: Vec<CombatLogEntry>
All the fights, that the character has stored for some reason
inbox_capacity: u16
The amount of messages the inbo xcan store
inbox: Vec<InboxEntry>
Messages and notifications
claimables: Vec<ClaimableMail>
Items and resources from item codes/twitch drops, that you can claim
open_msg: Option<String>
If you open a message (via command), this here will contain the opened message
open_claimable: Option<ClaimablePreview>
A preview of a claimable. You can get this via
Command::ClaimablePreview
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mail
impl<'de> Deserialize<'de> for Mail
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 Mail
impl RefUnwindSafe for Mail
impl Send for Mail
impl Sync for Mail
impl Unpin for Mail
impl UnwindSafe for Mail
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