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