pub struct UserPropertyDetails {
pub id: PropertyId,
pub owner: BasicUser,
pub property: BasicProperty,
pub happy: i32,
pub upkeep: Upkeep,
pub market_price: i64,
pub modifications: Vec<PropertyModificationEnum>,
pub staff: Vec<Staff>,
pub used_by: Vec<BasicUser>,
}
Fields§
§id: PropertyId
§owner: BasicUser
§property: BasicProperty
§happy: i32
§upkeep: Upkeep
§market_price: i64
§modifications: Vec<PropertyModificationEnum>
§staff: Vec<Staff>
§used_by: Vec<BasicUser>
Trait Implementations§
Source§impl Clone for UserPropertyDetails
impl Clone for UserPropertyDetails
Source§fn clone(&self) -> UserPropertyDetails
fn clone(&self) -> UserPropertyDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserPropertyDetails
impl Debug for UserPropertyDetails
Source§impl<'de> Deserialize<'de> for UserPropertyDetails
impl<'de> Deserialize<'de> for UserPropertyDetails
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 UserPropertyDetails
impl PartialEq for UserPropertyDetails
impl StructuralPartialEq for UserPropertyDetails
Auto Trait Implementations§
impl Freeze for UserPropertyDetails
impl RefUnwindSafe for UserPropertyDetails
impl Send for UserPropertyDetails
impl Sync for UserPropertyDetails
impl Unpin for UserPropertyDetails
impl UnwindSafe for UserPropertyDetails
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