Struct torn_api::user::BasicOwned
source · pub struct BasicOwned {
pub player_id: i32,
pub name: <&'static str as IntoOwned>::Owned,
pub level: i16,
pub gender: Gender,
pub status: <Status<'static> as IntoOwned>::Owned,
}
Fields§
§player_id: i32
§name: <&'static str as IntoOwned>::Owned
§level: i16
§gender: Gender
§status: <Status<'static> as IntoOwned>::Owned
Trait Implementations§
source§impl Clone for BasicOwned
impl Clone for BasicOwned
source§fn clone(&self) -> BasicOwned
fn clone(&self) -> BasicOwned
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 Freeze for BasicOwned
impl RefUnwindSafe for BasicOwned
impl Send for BasicOwned
impl Sync for BasicOwned
impl Unpin for BasicOwned
impl UnwindSafe for BasicOwned
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