Struct ftd::ConditionalAttribute
source · [−]pub struct ConditionalAttribute {
pub attribute_type: AttributeType,
pub conditions_with_value: Vec<(Condition, ConditionalValue)>,
pub default: Option<ConditionalValue>,
}
Fields
attribute_type: AttributeType
conditions_with_value: Vec<(Condition, ConditionalValue)>
default: Option<ConditionalValue>
Trait Implementations
sourceimpl Clone for ConditionalAttribute
impl Clone for ConditionalAttribute
sourcefn clone(&self) -> ConditionalAttribute
fn clone(&self) -> ConditionalAttribute
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 ConditionalAttribute
impl Debug for ConditionalAttribute
sourceimpl<'de> Deserialize<'de> for ConditionalAttribute
impl<'de> Deserialize<'de> for ConditionalAttribute
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<ConditionalAttribute> for ConditionalAttribute
impl PartialEq<ConditionalAttribute> for ConditionalAttribute
sourcefn eq(&self, other: &ConditionalAttribute) -> bool
fn eq(&self, other: &ConditionalAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for ConditionalAttribute
impl Serialize for ConditionalAttribute
impl StructuralPartialEq for ConditionalAttribute
Auto Trait Implementations
impl RefUnwindSafe for ConditionalAttribute
impl Send for ConditionalAttribute
impl Sync for ConditionalAttribute
impl Unpin for ConditionalAttribute
impl UnwindSafe for ConditionalAttribute
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