pub struct StringLit(pub String);
Expand description
A gathering structure for string scalar values
Tuple Fields§
§0: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for StringLit
impl<'de> Deserialize<'de> for StringLit
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 PartialEq for StringLit
impl PartialEq for StringLit
impl StructuralPartialEq for StringLit
Auto Trait Implementations§
impl RefUnwindSafe for StringLit
impl Send for StringLit
impl Sync for StringLit
impl Unpin for StringLit
impl UnwindSafe for StringLit
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