Struct paypal_rust::resources::date_no_time::DateNoTime
source · [−]Fields
date_no_time: Option<String>
The stand-alone date, in Internet date and time format. To represent special legal values, such as a date of birth, you should use dates with no associated time or time-zone data. Whenever possible, use the standard date_time type. This regular expression does not validate all dates. For example, February 31 is valid and nothing is known about leap years.
Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$.
Trait Implementations
sourceimpl Clone for DateNoTime
impl Clone for DateNoTime
sourcefn clone(&self) -> DateNoTime
fn clone(&self) -> DateNoTime
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DateNoTime
impl Debug for DateNoTime
sourceimpl Default for DateNoTime
impl Default for DateNoTime
sourcefn default() -> DateNoTime
fn default() -> DateNoTime
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DateNoTime
impl<'de> Deserialize<'de> for DateNoTime
sourcefn 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
sourceimpl Serialize for DateNoTime
impl Serialize for DateNoTime
Auto Trait Implementations
impl RefUnwindSafe for DateNoTime
impl Send for DateNoTime
impl Sync for DateNoTime
impl Unpin for DateNoTime
impl UnwindSafe for DateNoTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more