Struct ftd::ConditionalValueWithDefault
source · [−]pub struct ConditionalValueWithDefault {
pub value: ConditionalValue,
pub default: Option<ConditionalValue>,
}
Fields
value: ConditionalValue
default: Option<ConditionalValue>
Trait Implementations
sourceimpl Clone for ConditionalValueWithDefault
impl Clone for ConditionalValueWithDefault
sourcefn clone(&self) -> ConditionalValueWithDefault
fn clone(&self) -> ConditionalValueWithDefault
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConditionalValueWithDefault
impl Debug for ConditionalValueWithDefault
sourceimpl Default for ConditionalValueWithDefault
impl Default for ConditionalValueWithDefault
sourcefn default() -> ConditionalValueWithDefault
fn default() -> ConditionalValueWithDefault
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ConditionalValueWithDefault
impl<'de> Deserialize<'de> for ConditionalValueWithDefault
sourcefn 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
sourceimpl PartialEq<ConditionalValueWithDefault> for ConditionalValueWithDefault
impl PartialEq<ConditionalValueWithDefault> for ConditionalValueWithDefault
sourcefn eq(&self, other: &ConditionalValueWithDefault) -> bool
fn eq(&self, other: &ConditionalValueWithDefault) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ConditionalValueWithDefault
Auto Trait Implementations
impl RefUnwindSafe for ConditionalValueWithDefault
impl Send for ConditionalValueWithDefault
impl Sync for ConditionalValueWithDefault
impl Unpin for ConditionalValueWithDefault
impl UnwindSafe for ConditionalValueWithDefault
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more