Struct azalea_core::registry_holder::ChatTypeData
source · pub struct ChatTypeData {
pub translation_key: String,
pub parameters: Vec<String>,
pub style: Option<ChatTypeStyle>,
}
Expand description
Data about a chat message.
Fields§
§translation_key: String
§parameters: Vec<String>
§style: Option<ChatTypeStyle>
Trait Implementations§
source§impl Clone for ChatTypeData
impl Clone for ChatTypeData
source§fn clone(&self) -> ChatTypeData
fn clone(&self) -> ChatTypeData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChatTypeData
impl Debug for ChatTypeData
source§impl Deserialize for ChatTypeData
impl Deserialize for ChatTypeData
fn from_compound(nbt: &NbtCompound<'_>) -> Result<Self, DeserializeError>
fn from_nbt(nbt: &BaseNbt<'_>) -> Result<Self, DeserializeError>
source§impl Serialize for ChatTypeData
impl Serialize for ChatTypeData
fn to_compound(self) -> NbtCompound
fn to_nbt(self) -> BaseNbt
Auto Trait Implementations§
impl Freeze for ChatTypeData
impl RefUnwindSafe for ChatTypeData
impl Send for ChatTypeData
impl Sync for ChatTypeData
impl Unpin for ChatTypeData
impl UnwindSafe for ChatTypeData
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