pub struct FactionTrait {
pub symbol: Symbol,
pub name: String,
pub description: String,
}Expand description
Fields§
§symbol: SymbolThe unique identifier of the trait.
name: StringThe name of the trait.
description: StringA description of the trait.
Implementations§
Source§impl FactionTrait
impl FactionTrait
Trait Implementations§
Source§impl Clone for FactionTrait
impl Clone for FactionTrait
Source§fn clone(&self) -> FactionTrait
fn clone(&self) -> FactionTrait
Returns a duplicate 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 FactionTrait
impl Debug for FactionTrait
Source§impl<'de> Deserialize<'de> for FactionTrait
impl<'de> Deserialize<'de> for FactionTrait
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
Source§impl PartialEq for FactionTrait
impl PartialEq for FactionTrait
Source§impl Serialize for FactionTrait
impl Serialize for FactionTrait
impl StructuralPartialEq for FactionTrait
Auto Trait Implementations§
impl Freeze for FactionTrait
impl RefUnwindSafe for FactionTrait
impl Send for FactionTrait
impl Sync for FactionTrait
impl Unpin for FactionTrait
impl UnwindSafe for FactionTrait
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