pub struct TimePeriod2 {
pub fr_tm: String,
pub to_tm: Option<String>,
}Fields§
§fr_tm: String§to_tm: Option<String>Implementations§
Source§impl TimePeriod2
impl TimePeriod2
pub fn validate(&self) -> Result<(), ValidationError>
Auto Trait Implementations§
impl Freeze for TimePeriod2
impl RefUnwindSafe for TimePeriod2
impl Send for TimePeriod2
impl Sync for TimePeriod2
impl Unpin for TimePeriod2
impl UnwindSafe for TimePeriod2
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