Struct coc_rs::labels::PlayerLabel
source · [−]pub struct PlayerLabel {
pub id: PlayerLabelKind,
pub name: String,
pub icon_urls: LabelIconUrls,
}
Fields
id: PlayerLabelKind
name: String
icon_urls: LabelIconUrls
Trait Implementations
sourceimpl Clone for PlayerLabel
impl Clone for PlayerLabel
sourcefn clone(&self) -> PlayerLabel
fn clone(&self) -> PlayerLabel
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PlayerLabel
impl Debug for PlayerLabel
sourceimpl<'de> Deserialize<'de> for PlayerLabel
impl<'de> Deserialize<'de> for PlayerLabel
sourcefn 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
sourceimpl Serialize for PlayerLabel
impl Serialize for PlayerLabel
Auto Trait Implementations
impl RefUnwindSafe for PlayerLabel
impl Send for PlayerLabel
impl Sync for PlayerLabel
impl Unpin for PlayerLabel
impl UnwindSafe for PlayerLabel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more