pub struct Event<'a> {
pub op: RuleOp,
pub msg: &'a Message,
pub book_struct: &'a Struct,
pub ids: Vec<RuleKind<'a>>,
pub rules: Vec<RuleKind<'a>>,
}Fields§
§op: RuleOp§msg: &'a Message§book_struct: &'a Struct§ids: Vec<RuleKind<'a>>§rules: Vec<RuleKind<'a>>Implementations§
Source§impl<'a> Event<'a>
impl<'a> Event<'a>
Sourcepub fn get_small_name(&self) -> String
pub fn get_small_name(&self) -> String
The name of the change, could be a keyword.
Sourcepub fn get_change_name(&self) -> String
pub fn get_change_name(&self) -> String
The small name, not a keyword
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
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