Struct ftd::ConditionalValue
source · [−]pub struct ConditionalValue {
pub value: Value,
pub important: bool,
pub reference: Option<String>,
}
Fields
value: Value
important: bool
reference: Option<String>
Trait Implementations
sourceimpl Clone for ConditionalValue
impl Clone for ConditionalValue
sourcefn clone(&self) -> ConditionalValue
fn clone(&self) -> ConditionalValue
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 ConditionalValue
impl Debug for ConditionalValue
sourceimpl Default for ConditionalValue
impl Default for ConditionalValue
sourcefn default() -> ConditionalValue
fn default() -> ConditionalValue
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ConditionalValue
impl<'de> Deserialize<'de> for ConditionalValue
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<ConditionalValue> for ConditionalValue
impl PartialEq<ConditionalValue> for ConditionalValue
sourcefn eq(&self, other: &ConditionalValue) -> bool
fn eq(&self, other: &ConditionalValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for ConditionalValue
impl Serialize for ConditionalValue
impl StructuralPartialEq for ConditionalValue
Auto Trait Implementations
impl RefUnwindSafe for ConditionalValue
impl Send for ConditionalValue
impl Sync for ConditionalValue
impl Unpin for ConditionalValue
impl UnwindSafe for ConditionalValue
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