pub enum EncodeDecode {
EncodeOnly,
DecodeOnly,
Both,
}
Expand description
Whether to include encode and decode logic
Variants§
EncodeOnly
Only include encode logic
DecodeOnly
Only include decode logic
Both
Include both encode and decode logic
Trait Implementations§
Source§impl Clone for EncodeDecode
impl Clone for EncodeDecode
Source§fn clone(&self) -> EncodeDecode
fn clone(&self) -> EncodeDecode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EncodeDecode
impl Debug for EncodeDecode
Source§impl Default for EncodeDecode
impl Default for EncodeDecode
Source§fn default() -> EncodeDecode
fn default() -> EncodeDecode
Returns the “default value” for a type. Read more
impl Copy for EncodeDecode
Auto Trait Implementations§
impl Freeze for EncodeDecode
impl RefUnwindSafe for EncodeDecode
impl Send for EncodeDecode
impl Sync for EncodeDecode
impl Unpin for EncodeDecode
impl UnwindSafe for EncodeDecode
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