pub enum QuoteProps {
Preserve,
AsNeeded,
}
Expand description
Behaviour to use for quotes on property names.
Variants
Preserve
Preserve quotes around property names.
AsNeeded
Remove unnecessary quotes around property names.
Trait Implementations
sourceimpl Clone for QuoteProps
impl Clone for QuoteProps
sourcefn clone(&self) -> QuoteProps
fn clone(&self) -> QuoteProps
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for QuoteProps
impl<'de> Deserialize<'de> for QuoteProps
sourcefn 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
sourceimpl FromStr for QuoteProps
impl FromStr for QuoteProps
sourceimpl PartialEq<QuoteProps> for QuoteProps
impl PartialEq<QuoteProps> for QuoteProps
sourcefn eq(&self, other: &QuoteProps) -> bool
fn eq(&self, other: &QuoteProps) -> bool
sourceimpl Serialize for QuoteProps
impl Serialize for QuoteProps
sourceimpl ToString for QuoteProps
impl ToString for QuoteProps
impl Copy for QuoteProps
impl StructuralPartialEq for QuoteProps
Auto Trait Implementations
impl RefUnwindSafe for QuoteProps
impl Send for QuoteProps
impl Sync for QuoteProps
impl Unpin for QuoteProps
impl UnwindSafe for QuoteProps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more