pub struct UserPropertyDetailsExtendedForRent {Show 14 fields
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,
pub cost_per_day: i64,
pub rental_period: i32,
pub renter_asked: Option<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>
§status: Status
§cost: i64
§cost_per_day: i64
§rental_period: i32
§renter_asked: Option<BasicUser>
Trait Implementations§
Source§impl Clone for UserPropertyDetailsExtendedForRent
impl Clone for UserPropertyDetailsExtendedForRent
Source§fn clone(&self) -> UserPropertyDetailsExtendedForRent
fn clone(&self) -> UserPropertyDetailsExtendedForRent
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 UserPropertyDetailsExtendedForRent
impl<'de> Deserialize<'de> for UserPropertyDetailsExtendedForRent
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<UserPropertyDetailsExtendedForRent> for Properties
impl From<UserPropertyDetailsExtendedForRent> for Properties
Source§fn from(value: UserPropertyDetailsExtendedForRent) -> Self
fn from(value: UserPropertyDetailsExtendedForRent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UserPropertyDetailsExtendedForRent
impl PartialEq for UserPropertyDetailsExtendedForRent
Source§fn eq(&self, other: &UserPropertyDetailsExtendedForRent) -> bool
fn eq(&self, other: &UserPropertyDetailsExtendedForRent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UserPropertyDetailsExtendedForRent
Auto Trait Implementations§
impl Freeze for UserPropertyDetailsExtendedForRent
impl RefUnwindSafe for UserPropertyDetailsExtendedForRent
impl Send for UserPropertyDetailsExtendedForRent
impl Sync for UserPropertyDetailsExtendedForRent
impl Unpin for UserPropertyDetailsExtendedForRent
impl UnwindSafe for UserPropertyDetailsExtendedForRent
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