Struct torn_api::user::FactionOwned
source · pub struct FactionOwned {
pub faction_id: i32,
pub faction_name: <&'static str as IntoOwned>::Owned,
pub days_in_faction: i16,
pub position: <&'static str as IntoOwned>::Owned,
pub faction_tag: <Option<&'static str> as IntoOwned>::Owned,
}
Fields§
§faction_id: i32
§faction_name: <&'static str as IntoOwned>::Owned
§days_in_faction: i16
§position: <&'static str as IntoOwned>::Owned
§faction_tag: <Option<&'static str> as IntoOwned>::Owned
Trait Implementations§
source§impl Clone for FactionOwned
impl Clone for FactionOwned
source§fn clone(&self) -> FactionOwned
fn clone(&self) -> FactionOwned
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 FactionOwned
impl RefUnwindSafe for FactionOwned
impl Send for FactionOwned
impl Sync for FactionOwned
impl Unpin for FactionOwned
impl UnwindSafe for FactionOwned
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