pub struct Logic {
pub op: LogicOp,
pub branches: &'static [Branch],
pub rule_id: &'static str,
pub name: &'static str,
pub message: &'static str,
pub description: &'static str,
pub severity: &'static str,
}Expand description
A node-level sh:and / sh:or / sh:xone. The shape reports once, with
its own name and message, when the combination does not hold; the branch
checks carry no report text.
Fields§
§op: LogicOp§branches: &'static [Branch]§rule_id: &'static str§name: &'static str§message: &'static str§description: &'static str§severity: &'static strTrait Implementations§
Auto Trait Implementations§
impl Forget for Logic
impl Freeze for Logic
impl RefUnwindSafe for Logic
impl Send for Logic
impl Sync for Logic
impl Unpin for Logic
impl UnsafeUnpin for Logic
impl UnwindSafe for Logic
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