pub struct StringRestrictions { /* private fields */ }Expand description
“string-restrictions”.
Implementations§
Source§impl StringRestrictions
impl StringRestrictions
pub fn length(&self) -> &Option<LengthStmt>
pub fn pattern(&self) -> &Vec<PatternStmt>
Trait Implementations§
Source§impl Clone for StringRestrictions
impl Clone for StringRestrictions
Source§fn clone(&self) -> StringRestrictions
fn clone(&self) -> StringRestrictions
Returns a duplicate of the value. Read more
1.0.0 · 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 StringRestrictions
impl Debug for StringRestrictions
Source§impl PartialEq for StringRestrictions
impl PartialEq for StringRestrictions
impl StructuralPartialEq for StringRestrictions
Auto Trait Implementations§
impl Freeze for StringRestrictions
impl RefUnwindSafe for StringRestrictions
impl Send for StringRestrictions
impl Sync for StringRestrictions
impl Unpin for StringRestrictions
impl UnwindSafe for StringRestrictions
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