pub struct TimebaseContract {
pub num: i32,
pub den: i32,
}Fields§
§num: i32§den: i32Trait Implementations§
Source§impl Clone for TimebaseContract
impl Clone for TimebaseContract
Source§fn clone(&self) -> TimebaseContract
fn clone(&self) -> TimebaseContract
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 moreimpl Copy for TimebaseContract
Source§impl Debug for TimebaseContract
impl Debug for TimebaseContract
Source§impl<'de> Deserialize<'de> for TimebaseContract
impl<'de> Deserialize<'de> for TimebaseContract
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
impl Eq for TimebaseContract
Source§impl From<Timebase> for TimebaseContract
impl From<Timebase> for TimebaseContract
Source§impl From<TimebaseContract> for Timebase
impl From<TimebaseContract> for Timebase
Source§fn from(value: TimebaseContract) -> Self
fn from(value: TimebaseContract) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimebaseContract
impl PartialEq for TimebaseContract
Source§fn eq(&self, other: &TimebaseContract) -> bool
fn eq(&self, other: &TimebaseContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TimebaseContract
impl Serialize for TimebaseContract
impl StructuralPartialEq for TimebaseContract
Auto Trait Implementations§
impl Freeze for TimebaseContract
impl RefUnwindSafe for TimebaseContract
impl Send for TimebaseContract
impl Sync for TimebaseContract
impl Unpin for TimebaseContract
impl UnsafeUnpin for TimebaseContract
impl UnwindSafe for TimebaseContract
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