pub struct FactionContributor {
pub id: UserId,
pub username: String,
pub value: i64,
pub in_faction: bool,
}
Fields§
§id: UserId
§username: String
§value: i64
§in_faction: bool
Trait Implementations§
Source§impl Clone for FactionContributor
impl Clone for FactionContributor
Source§fn clone(&self) -> FactionContributor
fn clone(&self) -> FactionContributor
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 FactionContributor
impl Debug for FactionContributor
Source§impl<'de> Deserialize<'de> for FactionContributor
impl<'de> Deserialize<'de> for FactionContributor
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 FactionContributor
impl PartialEq for FactionContributor
impl StructuralPartialEq for FactionContributor
Auto Trait Implementations§
impl Freeze for FactionContributor
impl RefUnwindSafe for FactionContributor
impl Send for FactionContributor
impl Sync for FactionContributor
impl Unpin for FactionContributor
impl UnwindSafe for FactionContributor
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