pub struct ValidPeriod {
pub start_date: Option<String>,
pub end_date: Option<String>,
}Expand description
文档有效期(见表 8)。
Fields§
§start_date: Option<String>有效期开始日期。
end_date: Option<String>有效期结束日期。
Trait Implementations§
Source§impl Clone for ValidPeriod
impl Clone for ValidPeriod
Source§fn clone(&self) -> ValidPeriod
fn clone(&self) -> ValidPeriod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValidPeriod
impl Debug for ValidPeriod
Source§impl Default for ValidPeriod
impl Default for ValidPeriod
Source§fn default() -> ValidPeriod
fn default() -> ValidPeriod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidPeriod
impl<'de> Deserialize<'de> for ValidPeriod
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
Auto Trait Implementations§
impl Freeze for ValidPeriod
impl RefUnwindSafe for ValidPeriod
impl Send for ValidPeriod
impl Sync for ValidPeriod
impl Unpin for ValidPeriod
impl UnsafeUnpin for ValidPeriod
impl UnwindSafe for ValidPeriod
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