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