wasmtime_wasi::bindings::filesystem::types

Type Alias Datetime

Source
pub type Datetime = Datetime;

Aliased Type§

struct Datetime {
    pub seconds: u64,
    pub nanoseconds: u32,
}

Fields§

§seconds: u64§nanoseconds: u32

Trait Implementations

Source§

impl Clone for Datetime

Source§

fn clone(&self) -> Datetime

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Datetime

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl TryFrom<SystemTime> for Datetime

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(time: SystemTime) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl ComponentType for Datetime

Source§

impl Copy for Datetime

Source§

impl Lift for Datetime

Source§

impl Lower for Datetime