pub enum IfStatementFalseBody {
Block(Block),
Statement(Box<Statement>),
}
Expand description
IfStatementFalseBody
JSON schema
{
"anyOf": [
{
"$ref": "#/definitions/Statement"
},
{
"$ref": "#/definitions/Block"
}
]
}
Variants§
Trait Implementations§
Source§impl Clone for IfStatementFalseBody
impl Clone for IfStatementFalseBody
Source§fn clone(&self) -> IfStatementFalseBody
fn clone(&self) -> IfStatementFalseBody
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 moreSource§impl Debug for IfStatementFalseBody
impl Debug for IfStatementFalseBody
Source§impl<'de> Deserialize<'de> for IfStatementFalseBody
impl<'de> Deserialize<'de> for IfStatementFalseBody
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
Source§impl From<&IfStatementFalseBody> for IfStatementFalseBody
impl From<&IfStatementFalseBody> for IfStatementFalseBody
Source§fn from(value: &IfStatementFalseBody) -> Self
fn from(value: &IfStatementFalseBody) -> Self
Converts to this type from the input type.
Source§impl From<Block> for IfStatementFalseBody
impl From<Block> for IfStatementFalseBody
Source§impl From<Statement> for IfStatementFalseBody
impl From<Statement> for IfStatementFalseBody
Auto Trait Implementations§
impl Freeze for IfStatementFalseBody
impl RefUnwindSafe for IfStatementFalseBody
impl Send for IfStatementFalseBody
impl Sync for IfStatementFalseBody
impl Unpin for IfStatementFalseBody
impl UnwindSafe for IfStatementFalseBody
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