pub struct UserFaction {
pub id: FactionId,
pub name: String,
pub tag: String,
pub tag_image: String,
pub position: String,
pub days_in_faction: i32,
}
Fields§
§id: FactionId
§name: String
§tag: String
§tag_image: String
§position: String
§days_in_faction: i32
Trait Implementations§
Source§impl Clone for UserFaction
impl Clone for UserFaction
Source§fn clone(&self) -> UserFaction
fn clone(&self) -> UserFaction
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 UserFaction
impl Debug for UserFaction
Source§impl<'de> Deserialize<'de> for UserFaction
impl<'de> Deserialize<'de> for UserFaction
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 UserFaction
impl PartialEq for UserFaction
impl StructuralPartialEq for UserFaction
Auto Trait Implementations§
impl Freeze for UserFaction
impl RefUnwindSafe for UserFaction
impl Send for UserFaction
impl Sync for UserFaction
impl Unpin for UserFaction
impl UnwindSafe for UserFaction
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