pub struct RelationEntry {
pub id: PlayerId,
pub name: String,
pub guild: String,
pub level: u16,
pub relation: Relationship,
}
Fields§
§id: PlayerId
§name: String
§guild: String
§level: u16
§relation: Relationship
Trait Implementations§
Source§impl Clone for RelationEntry
impl Clone for RelationEntry
Source§fn clone(&self) -> RelationEntry
fn clone(&self) -> RelationEntry
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 RelationEntry
impl Debug for RelationEntry
Source§impl Default for RelationEntry
impl Default for RelationEntry
Source§fn default() -> RelationEntry
fn default() -> RelationEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelationEntry
impl<'de> Deserialize<'de> for RelationEntry
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 RelationEntry
impl RefUnwindSafe for RelationEntry
impl Send for RelationEntry
impl Sync for RelationEntry
impl Unpin for RelationEntry
impl UnwindSafe for RelationEntry
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