pub struct StringOption(/* private fields */);Expand description
An option that represents a string of variable length with a minimum length of 1.
Implementations§
Trait Implementations§
Source§impl Clone for StringOption
impl Clone for StringOption
Source§fn clone(&self) -> StringOption
fn clone(&self) -> StringOption
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StringOption
impl Debug for StringOption
Source§impl<'de> Deserialize<'de> for StringOption
impl<'de> Deserialize<'de> for StringOption
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
Source§impl From<&[u8]> for StringOption
impl From<&[u8]> for StringOption
Source§impl PartialEq for StringOption
impl PartialEq for StringOption
Source§impl Serialize for StringOption
impl Serialize for StringOption
Source§impl TryFrom<String> for StringOption
impl TryFrom<String> for StringOption
impl StructuralPartialEq for StringOption
Auto Trait Implementations§
impl Freeze for StringOption
impl RefUnwindSafe for StringOption
impl Send for StringOption
impl Sync for StringOption
impl Unpin for StringOption
impl UnwindSafe for StringOption
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