pub struct DateTime { /* private fields */ }
Expand description
FoxBase representation of a DateTime
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for DateTime
impl<'de> Deserialize<'de> for DateTime
source§fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<DateTime> for FieldValue
impl From<DateTime> for FieldValue
source§impl PartialEq for DateTime
impl PartialEq for DateTime
source§impl Serialize for DateTime
impl Serialize for DateTime
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<FieldValue> for DateTime
impl TryFrom<FieldValue> for DateTime
§type Error = FieldConversionError
type Error = FieldConversionError
The type returned in the event of a conversion error.
impl Copy for DateTime
impl StructuralPartialEq for DateTime
Auto Trait Implementations§
impl RefUnwindSafe for DateTime
impl Send for DateTime
impl Sync for DateTime
impl Unpin for DateTime
impl UnwindSafe for DateTime
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<S> ReadableRecord for Swhere
S: DeserializeOwned,
impl<S> ReadableRecord for Swhere
S: DeserializeOwned,
source§fn read_using<T, R>(
field_iterator: &mut FieldIterator<'_, T, R>
) -> Result<S, FieldIOError>
fn read_using<T, R>( field_iterator: &mut FieldIterator<'_, T, R> ) -> Result<S, FieldIOError>
function to be implemented that returns a new instance of your type
using values read from the `FieldIterator’
source§impl<T> WritableRecord for Twhere
T: Serialize,
impl<T> WritableRecord for Twhere
T: Serialize,
source§fn write_using<W, 'a>(
&self,
field_writer: &mut FieldWriter<'a, W>
) -> Result<(), FieldIOError>where
W: Write,
fn write_using<W, 'a>(
&self,
field_writer: &mut FieldWriter<'a, W>
) -> Result<(), FieldIOError>where
W: Write,
Use the FieldWriter to write the fields of the record