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