pub struct ITimestamp(pub i64);Tuple Fields§
§0: i64Trait Implementations§
Source§impl Clone for ITimestamp
impl Clone for ITimestamp
Source§fn clone(&self) -> ITimestamp
fn clone(&self) -> ITimestamp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ITimestamp
impl Debug for ITimestamp
Source§impl DerefMut for ITimestamp
impl DerefMut for ITimestamp
Source§impl<'de> Deserialize<'de> for ITimestamp
impl<'de> Deserialize<'de> for ITimestamp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ITimestamp
impl Display for ITimestamp
Source§impl From<i64> for ITimestamp
impl From<i64> for ITimestamp
Source§fn from(original: i64) -> ITimestamp
fn from(original: i64) -> ITimestamp
Converts to this type from the input type.
Source§impl IValue for ITimestamp
impl IValue for ITimestamp
Source§impl IsValue for ITimestamp
impl IsValue for ITimestamp
const TY: Ty = Ty::Timestamp
fn as_timestamp(&self) -> i64
fn is_null(&self) -> bool
fn is_primitive(&self) -> bool
fn fixed_length(&self) -> usize
fn as_var_char(&self) -> &str
fn as_nchar(&self) -> &str
fn as_medium_blob(&self) -> &[u8] ⓘ
fn as_blob(&self) -> &[u8] ⓘ
Source§impl Serialize for ITimestamp
impl Serialize for ITimestamp
Source§impl Deref for ITimestamp
impl Deref for ITimestamp
impl Copy for ITimestamp
Auto Trait Implementations§
impl Freeze for ITimestamp
impl RefUnwindSafe for ITimestamp
impl Send for ITimestamp
impl Sync for ITimestamp
impl Unpin for ITimestamp
impl UnwindSafe for ITimestamp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more