pub struct DateTime(pub String);
Tuple Fields§
§0: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DateTime
impl<'de> Deserialize<'de> for DateTime
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 IsScalar<DateTime> for DateTime
impl IsScalar<DateTime> for DateTime
Source§type SchemaType = DateTime
type SchemaType = DateTime
The schema marker type this scalar represents.
impl CoercesTo<DateTime> for DateTime
impl CoercesTo<Option<DateTime>> for DateTime
impl CoercesTo<Option<Option<DateTime>>> for DateTime
impl CoercesTo<Option<Vec<DateTime>>> for DateTime
impl CoercesTo<Option<Vec<Option<DateTime>>>> for DateTime
impl CoercesTo<Vec<DateTime>> for DateTime
impl CoercesTo<Vec<Vec<DateTime>>> for DateTime
Auto Trait Implementations§
impl Freeze for DateTime
impl RefUnwindSafe for DateTime
impl Send for DateTime
impl Sync for DateTime
impl Unpin for DateTime
impl UnwindSafe for DateTime
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moreSource§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