pub struct LeaseExtension {
pub cost: i64,
pub period: i32,
pub created_at: i32,
}
Fields§
§cost: i64
§period: i32
§created_at: i32
Trait Implementations§
Source§impl Clone for LeaseExtension
impl Clone for LeaseExtension
Source§fn clone(&self) -> LeaseExtension
fn clone(&self) -> LeaseExtension
Returns a duplicate 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 moreSource§impl Debug for LeaseExtension
impl Debug for LeaseExtension
Source§impl<'de> Deserialize<'de> for LeaseExtension
impl<'de> Deserialize<'de> for LeaseExtension
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 LeaseExtension
impl PartialEq for LeaseExtension
impl StructuralPartialEq for LeaseExtension
Auto Trait Implementations§
impl Freeze for LeaseExtension
impl RefUnwindSafe for LeaseExtension
impl Send for LeaseExtension
impl Sync for LeaseExtension
impl Unpin for LeaseExtension
impl UnwindSafe for LeaseExtension
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