[−][src]Enum osmio::TimestampFormat
Variants
ISOString(String)
EpochNunber(i64)
Implementations
impl TimestampFormat
[src]
pub fn to_iso_string(&self) -> String
[src]
pub fn to_epoch_number(&self) -> i64
[src]
Trait Implementations
impl Clone for TimestampFormat
[src]
fn clone(&self) -> TimestampFormat
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TimestampFormat
[src]
impl Display for TimestampFormat
[src]
impl Eq for TimestampFormat
[src]
impl<T> From<T> for TimestampFormat where
T: Into<i64>,
[src]
T: Into<i64>,
impl FromStr for TimestampFormat
[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Ord for TimestampFormat
[src]
fn cmp(&self, other: &TimestampFormat) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<TimestampFormat> for TimestampFormat
[src]
impl PartialOrd<TimestampFormat> for TimestampFormat
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for TimestampFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for TimestampFormat
impl Send for TimestampFormat
impl Sync for TimestampFormat
impl Unpin for TimestampFormat
impl UnwindSafe for TimestampFormat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,