Struct mysql::value::SignedDuration [] [src]

pub struct SignedDuration(pub bool, pub Duration);

A way to store negativeness of mysql's time. .0 == true means negative.

Trait Implementations

impl IntoValue for SignedDuration

fn into_value(self) -> Value

impl FromValue for SignedDuration

fn from_value(v: Value) -> SignedDuration

fn from_value_opt(v: Value) -> Result<SignedDuration, Value>

Derived Implementations

impl Clone for SignedDuration

fn clone(&self) -> SignedDuration

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

impl PartialEq for SignedDuration

fn eq(&self, __arg_0: &SignedDuration) -> bool

fn ne(&self, __arg_0: &SignedDuration) -> bool

impl Eq for SignedDuration

impl PartialOrd for SignedDuration

fn partial_cmp(&self, __arg_0: &SignedDuration) -> Option<Ordering>

fn lt(&self, __arg_0: &SignedDuration) -> bool

fn le(&self, __arg_0: &SignedDuration) -> bool

fn gt(&self, __arg_0: &SignedDuration) -> bool

fn ge(&self, __arg_0: &SignedDuration) -> bool

impl Ord for SignedDuration

fn cmp(&self, __arg_0: &SignedDuration) -> Ordering

impl Debug for SignedDuration

fn fmt(&self, __arg_0: &mut Formatter) -> Result