pub struct RuleActions {
pub template_ids: Vec<String>,
pub transform_type: TransformType,
pub target_field: Option<String>,
pub char_limit: Option<usize>,
pub perception_lock: bool,
}Expand description
Actions to take when a rule activates
Fields§
§template_ids: Vec<String>§transform_type: TransformType§target_field: Option<String>§char_limit: Option<usize>§perception_lock: boolTrait Implementations§
Source§impl Clone for RuleActions
impl Clone for RuleActions
Source§fn clone(&self) -> RuleActions
fn clone(&self) -> RuleActions
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 RuleActions
impl Debug for RuleActions
Source§impl<'de> Deserialize<'de> for RuleActions
impl<'de> Deserialize<'de> for RuleActions
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 RuleActions
impl RefUnwindSafe for RuleActions
impl Send for RuleActions
impl Sync for RuleActions
impl Unpin for RuleActions
impl UnwindSafe for RuleActions
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