Struct jsonparser::StringType
source · pub struct StringType { /* private fields */ }Implementations§
source§impl StringType
impl StringType
sourcepub fn min_length(self, min: usize) -> Self
pub fn min_length(self, min: usize) -> Self
Set the minimum length of the string.
sourcepub fn max_length(self, max: usize) -> Self
pub fn max_length(self, max: usize) -> Self
Set the maximum length of the string.
sourcepub fn starts_with(self, value: &str) -> Self
pub fn starts_with(self, value: &str) -> Self
Set the expected starting of the string.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StringType
impl Send for StringType
impl Sync for StringType
impl Unpin for StringType
impl UnwindSafe for StringType
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