Struct migration::ConditionHolder
pub struct ConditionHolder {
pub contents: ConditionHolderContents,
}
Fields§
§contents: ConditionHolderContents
Implementations§
§impl ConditionHolder
impl ConditionHolder
pub fn new() -> ConditionHolder
pub fn new_with_condition(condition: Condition) -> ConditionHolder
pub fn is_empty(&self) -> bool
pub fn is_one(&self) -> bool
pub fn add_and_or(&mut self, condition: LogicalChainOper)
pub fn add_condition(&mut self, condition: Condition)
Trait Implementations§
§impl Clone for ConditionHolder
impl Clone for ConditionHolder
§fn clone(&self) -> ConditionHolder
fn clone(&self) -> ConditionHolder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ConditionHolder
impl Debug for ConditionHolder
§impl Default for ConditionHolder
impl Default for ConditionHolder
§fn default() -> ConditionHolder
fn default() -> ConditionHolder
Returns the “default value” for a type. Read more