[−][src]Struct serde_with::NoneAsEmptyString
Trait Implementations
impl Clone for NoneAsEmptyString
[src]
fn clone(&self) -> NoneAsEmptyString
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NoneAsEmptyString
[src]
impl Debug for NoneAsEmptyString
[src]
impl Default for NoneAsEmptyString
[src]
fn default() -> NoneAsEmptyString
[src]
impl<'de, Str> DeserializeAs<'de, Option<Str>> for NoneAsEmptyString where
Str: for<'a> From<&'a str>,
[src]
Str: for<'a> From<&'a str>,
fn deserialize_as<D>(deserializer: D) -> Result<Option<Str>, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<AsRefStr> SerializeAs<Option<AsRefStr>> for NoneAsEmptyString where
AsRefStr: AsRef<str>,
[src]
AsRefStr: AsRef<str>,
fn serialize_as<S>(
source: &Option<AsRefStr>,
serializer: S
) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
source: &Option<AsRefStr>,
serializer: S
) -> Result<S::Ok, S::Error> where
S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for NoneAsEmptyString
impl Send for NoneAsEmptyString
impl Sync for NoneAsEmptyString
impl Unpin for NoneAsEmptyString
impl UnwindSafe for NoneAsEmptyString
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,