pub struct MiniMessageConfig {
pub strict: bool,
pub parse_legacy_colors: bool,
}Expand description
Configuration for MiniMessage parsing/serialization.
Fields§
§strict: boolWhether to use strict parsing (requires proper tag closing)
parse_legacy_colors: boolWhether to parse legacy color codes (e.g., &6 for gold)
Trait Implementations§
Source§impl Clone for MiniMessageConfig
impl Clone for MiniMessageConfig
Source§fn clone(&self) -> MiniMessageConfig
fn clone(&self) -> MiniMessageConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MiniMessageConfig
Source§impl Debug for MiniMessageConfig
impl Debug for MiniMessageConfig
Source§impl Default for MiniMessageConfig
impl Default for MiniMessageConfig
Source§fn default() -> MiniMessageConfig
fn default() -> MiniMessageConfig
Returns the “default value” for a type. Read more
impl Eq for MiniMessageConfig
Source§impl Hash for MiniMessageConfig
impl Hash for MiniMessageConfig
Source§impl PartialEq for MiniMessageConfig
impl PartialEq for MiniMessageConfig
Source§fn eq(&self, other: &MiniMessageConfig) -> bool
fn eq(&self, other: &MiniMessageConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MiniMessageConfig
Auto Trait Implementations§
impl Freeze for MiniMessageConfig
impl RefUnwindSafe for MiniMessageConfig
impl Send for MiniMessageConfig
impl Sync for MiniMessageConfig
impl Unpin for MiniMessageConfig
impl UnsafeUnpin for MiniMessageConfig
impl UnwindSafe for MiniMessageConfig
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