pub trait AsPOSIXct {
// Required method
fn as_posixct(&self) -> Result<SEXP, AsCoerceError>;
}Expand description
Trait for types that can be coerced to POSIXct via as.POSIXct().
The result should be an R POSIXct object (numeric with “POSIXct”, “POSIXt” class).
Required Methods§
Sourcefn as_posixct(&self) -> Result<SEXP, AsCoerceError>
fn as_posixct(&self) -> Result<SEXP, AsCoerceError>
Convert to an R POSIXct.