pub struct Nameplate {
pub sku_id: Option<String>,
pub asset: Option<String>,
pub label: Option<String>,
pub palette: Option<String>,
pub expires_at: Option<String>,
}Fields§
§sku_id: Option<String>ID of the nameplate SKU
asset: Option<String>Path to the nameplate asset
label: Option<String>The label of this nameplate (Currently unused)
palette: Option<String>Background color of the nameplate (crimson, berry, sky, teal, forest, bubble_gum, violet, cobalt, clover, lemon, white)
expires_at: Option<String>Unix timestamp of when the current nameplate expires (if any)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nameplate
impl<'de> Deserialize<'de> for Nameplate
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 Nameplate
impl RefUnwindSafe for Nameplate
impl Send for Nameplate
impl Sync for Nameplate
impl Unpin for Nameplate
impl UnsafeUnpin for Nameplate
impl UnwindSafe for Nameplate
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