pub struct UserPropertyBasicDetails {
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>,
}
Fields§
§id: PropertyId
§owner: BasicUser
§property: BasicProperty
§happy: i32
§upkeep: Upkeep
§market_price: i64
§modifications: Vec<PropertyModificationEnum>
§staff: Vec<Staff>
Trait Implementations§
Source§impl Clone for UserPropertyBasicDetails
impl Clone for UserPropertyBasicDetails
Source§fn clone(&self) -> UserPropertyBasicDetails
fn clone(&self) -> UserPropertyBasicDetails
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 UserPropertyBasicDetails
impl Debug for UserPropertyBasicDetails
Source§impl<'de> Deserialize<'de> for UserPropertyBasicDetails
impl<'de> Deserialize<'de> for UserPropertyBasicDetails
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 From<UserPropertyBasicDetails> for Properties
impl From<UserPropertyBasicDetails> for Properties
Source§fn from(value: UserPropertyBasicDetails) -> Self
fn from(value: UserPropertyBasicDetails) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UserPropertyBasicDetails
impl PartialEq for UserPropertyBasicDetails
Source§fn eq(&self, other: &UserPropertyBasicDetails) -> bool
fn eq(&self, other: &UserPropertyBasicDetails) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UserPropertyBasicDetails
Auto Trait Implementations§
impl Freeze for UserPropertyBasicDetails
impl RefUnwindSafe for UserPropertyBasicDetails
impl Send for UserPropertyBasicDetails
impl Sync for UserPropertyBasicDetails
impl Unpin for UserPropertyBasicDetails
impl UnwindSafe for UserPropertyBasicDetails
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