pub enum WithSerde {
None,
Serialize,
Deserialize,
Both,
}
Variants§
Implementations§
Source§impl WithSerde
impl WithSerde
pub fn extra_derive(&self) -> TokenStream
Trait Implementations§
impl Eq for WithSerde
impl StructuralPartialEq for WithSerde
Auto Trait Implementations§
impl Freeze for WithSerde
impl RefUnwindSafe for WithSerde
impl Send for WithSerde
impl Sync for WithSerde
impl Unpin for WithSerde
impl UnwindSafe for WithSerde
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