pub struct LeafRule {
pub via: Via,
pub select: Option<String>,
pub index: Option<i64>,
pub extract: Extract,
pub clean: Vec<CleanStep>,
}Expand description
叶子规则:在当前上下文做一次抽取。
Fields§
§via: Via§select: Option<String>§index: Option<i64>§extract: Extract§clean: Vec<CleanStep>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LeafRule
impl<'de> Deserialize<'de> for LeafRule
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 LeafRule
impl StructuralPartialEq for LeafRule
Auto Trait Implementations§
impl Freeze for LeafRule
impl RefUnwindSafe for LeafRule
impl Send for LeafRule
impl Sync for LeafRule
impl Unpin for LeafRule
impl UnsafeUnpin for LeafRule
impl UnwindSafe for LeafRule
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