pub struct RuleFile {
pub version: u8,
pub input: InputSpec,
pub output: Option<OutputSpec>,
pub record_when: Option<Expr>,
pub mappings: Vec<Mapping>,
pub steps: Option<Vec<V2RuleStep>>,
pub finalize: Option<FinalizeSpec>,
}Fields§
§version: u8§input: InputSpec§output: Option<OutputSpec>§record_when: Option<Expr>§mappings: Vec<Mapping>§steps: Option<Vec<V2RuleStep>>§finalize: Option<FinalizeSpec>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleFile
impl<'de> Deserialize<'de> for RuleFile
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
Auto Trait Implementations§
impl Freeze for RuleFile
impl RefUnwindSafe for RuleFile
impl Send for RuleFile
impl Sync for RuleFile
impl Unpin for RuleFile
impl UnwindSafe for RuleFile
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