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