pub struct IdentityConverter;Expand description
Identity converter (no conversion).
Trait Implementations§
Source§impl Debug for IdentityConverter
impl Debug for IdentityConverter
Source§impl Default for IdentityConverter
impl Default for IdentityConverter
Source§fn default() -> IdentityConverter
fn default() -> IdentityConverter
Returns the “default value” for a type. Read more
Source§impl ValueConverter for IdentityConverter
impl ValueConverter for IdentityConverter
Source§fn convert(&self, value: &str) -> Result<String, ConversionError>
fn convert(&self, value: &str) -> Result<String, ConversionError>
Convert from source type to target type.
Source§fn convert_back(&self, value: &str) -> Result<String, ConversionError>
fn convert_back(&self, value: &str) -> Result<String, ConversionError>
Convert back from target type to source type.
Auto Trait Implementations§
impl Freeze for IdentityConverter
impl RefUnwindSafe for IdentityConverter
impl Send for IdentityConverter
impl Sync for IdentityConverter
impl Unpin for IdentityConverter
impl UnwindSafe for IdentityConverter
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