pub struct ShowBranch {
pub condition: Option<ShowExpression>,
pub result: ShowExpression,
}Expand description
One arm of a rule’s flat last-match table on Show.
Fields§
§condition: Option<ShowExpression>Absent on the default arm; present on each unless.
result: ShowExpressionTrait Implementations§
Source§impl Clone for ShowBranch
impl Clone for ShowBranch
Source§impl Debug for ShowBranch
impl Debug for ShowBranch
Source§impl<'de> Deserialize<'de> for ShowBranch
impl<'de> Deserialize<'de> for ShowBranch
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 Eq for ShowBranch
Source§impl From<&ShowBranch> for ShowBranch
impl From<&ShowBranch> for ShowBranch
Source§fn from(branch: &DomainShowBranch) -> Self
fn from(branch: &DomainShowBranch) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ShowBranch
impl PartialEq for ShowBranch
Source§impl Serialize for ShowBranch
impl Serialize for ShowBranch
impl StructuralPartialEq for ShowBranch
Auto Trait Implementations§
impl Freeze for ShowBranch
impl RefUnwindSafe for ShowBranch
impl Send for ShowBranch
impl Sync for ShowBranch
impl Unpin for ShowBranch
impl UnsafeUnpin for ShowBranch
impl UnwindSafe for ShowBranch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.