pub struct MultiLevelRule {
pub file_pattern: String,
pub root_to_strip: String,
pub unique_id_elements: String,
pub path_segment: String,
pub wrap_root_element: String,
pub wrap_xmlns: String,
}Expand description
Rule for multi-level disassembly: which files to further disassemble and how.
Fields§
§file_pattern: StringFile name pattern (e.g. “programProcesses-meta”); any XML file whose name contains this is processed.
root_to_strip: StringRoot element to strip (e.g. “LoyaltyProgramSetup”); its inner content becomes the new document.
unique_id_elements: StringComma-separated unique-id elements for the second-level disassembly (e.g. “parameterName,ruleName”).
path_segment: StringPath segment under the disassembly root for reassembly (e.g. “programProcesses”).
wrap_root_element: StringRoot element name to wrap reassembled files with (defaults to root_to_strip).
wrap_xmlns: Stringxmlns value for the wrap root (optional; captured from original when stripping).
Trait Implementations§
Source§impl Clone for MultiLevelRule
impl Clone for MultiLevelRule
Source§fn clone(&self) -> MultiLevelRule
fn clone(&self) -> MultiLevelRule
Returns a duplicate 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 MultiLevelRule
impl Debug for MultiLevelRule
Source§impl<'de> Deserialize<'de> for MultiLevelRule
impl<'de> Deserialize<'de> for MultiLevelRule
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 MultiLevelRule
impl RefUnwindSafe for MultiLevelRule
impl Send for MultiLevelRule
impl Sync for MultiLevelRule
impl Unpin for MultiLevelRule
impl UnsafeUnpin for MultiLevelRule
impl UnwindSafe for MultiLevelRule
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