pub struct RuleAst {
pub id: RuleId,
pub head: Atom,
pub body: Vec<Literal>,
}Fields§
§id: RuleId§head: Atom§body: Vec<Literal>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleAst
impl<'de> Deserialize<'de> for RuleAst
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 RuleAst
Auto Trait Implementations§
impl Freeze for RuleAst
impl RefUnwindSafe for RuleAst
impl Send for RuleAst
impl Sync for RuleAst
impl Unpin for RuleAst
impl UnwindSafe for RuleAst
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