pub enum SerializeFieldSet<'a> {
Ser(&'a FieldSet),
De(Vec<CowString<'a>>),
}
Variants§
Implementations§
source§impl<'a> SerializeFieldSet<'a>
impl<'a> SerializeFieldSet<'a>
pub fn to_owned(&self) -> SerializeFieldSet<'static>
Trait Implementations§
source§impl<'a> Debug for SerializeFieldSet<'a>
impl<'a> Debug for SerializeFieldSet<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for SerializeFieldSet<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SerializeFieldSet<'a>
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<'a> Serialize for SerializeFieldSet<'a>
impl<'a> Serialize for SerializeFieldSet<'a>
impl Send for SerializeFieldSet<'static>
SAFETY: If all data is ’static and/or owned, it is safe to send between threads.
Auto Trait Implementations§
impl<'a> Freeze for SerializeFieldSet<'a>
impl<'a> !RefUnwindSafe for SerializeFieldSet<'a>
impl<'a> Sync for SerializeFieldSet<'a>
impl<'a> Unpin for SerializeFieldSet<'a>
impl<'a> !UnwindSafe for SerializeFieldSet<'a>
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