[−][src]Type Definition ion_c_sys::ION_TIMESTAMP
type ION_TIMESTAMP = _ion_timestamp;
Implementations
impl ION_TIMESTAMP
[src]
pub fn try_assign_from_iondt(&mut self, ion_dt: &IonDateTime) -> IonCResult<()>
[src]
Converts the given IonDateTime
into this ION_TIMESTAMP
.
pub fn try_to_iondt(&mut self) -> IonCResult<IonDateTime>
[src]
Converts this ION_TIMESTAMP
into a IonDateTime
.
Note that this borrows mutably, because all of the underlying
ion_timestamp_*
functions require a mutable pointer, but this operation
does not actually change the value.