pub struct IfNode {
pub condition: Box<Node>,
pub valid: Box<Node>,
pub invalid: Option<Box<Node>>,
pub is_short: bool,
}Fields§
§condition: Box<Node>§valid: Box<Node>§invalid: Option<Box<Node>>§is_short: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IfNode
impl<'de> Deserialize<'de> for IfNode
Source§fn 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
impl StructuralPartialEq for IfNode
Auto Trait Implementations§
impl Freeze for IfNode
impl RefUnwindSafe for IfNode
impl Send for IfNode
impl Sync for IfNode
impl Unpin for IfNode
impl UnwindSafe for IfNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more