pub struct SwissClock {
pub limit: i32,
pub increment: i32,
}Fields§
§limit: i32§increment: i32Trait Implementations§
Source§impl Clone for SwissClock
impl Clone for SwissClock
Source§fn clone(&self) -> SwissClock
fn clone(&self) -> SwissClock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwissClock
impl Debug for SwissClock
Source§impl<'de> Deserialize<'de> for SwissClock
impl<'de> Deserialize<'de> for SwissClock
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
Auto Trait Implementations§
impl Freeze for SwissClock
impl RefUnwindSafe for SwissClock
impl Send for SwissClock
impl Sync for SwissClock
impl Unpin for SwissClock
impl UnsafeUnpin for SwissClock
impl UnwindSafe for SwissClock
Blanket Implementations§
impl<B> BodyBounds for Bwhere
B: Serialize,
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