Struct torn_api::user::ProfileOwned
source · pub struct ProfileOwned {Show 13 fields
pub player_id: i32,
pub name: <&'static str as IntoOwned>::Owned,
pub rank: <&'static str as IntoOwned>::Owned,
pub level: i16,
pub gender: Gender,
pub age: i32,
pub life: LifeBar,
pub last_action: LastAction,
pub faction: <Option<Faction<'static>> as IntoOwned>::Owned,
pub job: EmploymentStatus,
pub status: <Status<'static> as IntoOwned>::Owned,
pub competition: Option<Competition>,
pub revivable: bool,
}Fields§
§player_id: i32§name: <&'static str as IntoOwned>::Owned§rank: <&'static str as IntoOwned>::Owned§level: i16§gender: Gender§age: i32§life: LifeBar§last_action: LastAction§faction: <Option<Faction<'static>> as IntoOwned>::Owned§job: EmploymentStatus§status: <Status<'static> as IntoOwned>::Owned§competition: Option<Competition>§revivable: boolTrait Implementations§
source§impl Clone for ProfileOwned
impl Clone for ProfileOwned
source§fn clone(&self) -> ProfileOwned
fn clone(&self) -> ProfileOwned
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ProfileOwned
impl Send for ProfileOwned
impl Sync for ProfileOwned
impl Unpin for ProfileOwned
impl UnwindSafe for ProfileOwned
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