pub struct Date<'a> {
pub _tab: Table<'a>,
}
Expand description
Date is either a 32-bit or 64-bit signed integer type representing an elapsed time since UNIX epoch (1970-01-01), stored in either of two units:
- Milliseconds (64 bits) indicating UNIX time elapsed since the epoch (no leap seconds), where the values are evenly divisible by 86400000
- Days (32 bits) since the UNIX epoch
Fields§
§_tab: Table<'a>
Implementations§
Trait Implementations§
Source§impl Verifiable for Date<'_>
impl Verifiable for Date<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for Date<'a>
impl<'a> StructuralPartialEq for Date<'a>
Auto Trait Implementations§
impl<'a> Freeze for Date<'a>
impl<'a> RefUnwindSafe for Date<'a>
impl<'a> Send for Date<'a>
impl<'a> Sync for Date<'a>
impl<'a> Unpin for Date<'a>
impl<'a> UnwindSafe for Date<'a>
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