pub struct TIME(/* private fields */);
Expand description
Get timestamp of block at given height.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TIME
impl<'de> Deserialize<'de> for TIME
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<TIME> for Instruction
impl From<TIME> for Instruction
source§impl FromWasmAbi for TIME
impl FromWasmAbi for TIME
source§impl IntoWasmAbi for TIME
impl IntoWasmAbi for TIME
source§impl LongRefFromWasmAbi for TIME
impl LongRefFromWasmAbi for TIME
source§impl OptionFromWasmAbi for TIME
impl OptionFromWasmAbi for TIME
source§impl OptionIntoWasmAbi for TIME
impl OptionIntoWasmAbi for TIME
source§impl RefFromWasmAbi for TIME
impl RefFromWasmAbi for TIME
source§impl RefMutFromWasmAbi for TIME
impl RefMutFromWasmAbi for TIME
source§impl TryFromJsValue for TIME
impl TryFromJsValue for TIME
source§impl VectorFromWasmAbi for TIME
impl VectorFromWasmAbi for TIME
source§impl VectorIntoWasmAbi for TIME
impl VectorIntoWasmAbi for TIME
impl Copy for TIME
impl Eq for TIME
impl StructuralPartialEq for TIME
Auto Trait Implementations§
impl Freeze for TIME
impl RefUnwindSafe for TIME
impl Send for TIME
impl Sync for TIME
impl Unpin for TIME
impl UnwindSafe for TIME
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.