pub struct NumberRuleInput {
pub match: String,
pub pattern: Option<String>,
pub action: String,
pub target: String,
pub position: Option<i64>,
}Expand description
Body of numbers.create_rule and numbers.update_rule.
Fields§
§match: Stringkeyword|prefix|regex|any.
pattern: Option<String>Pattern (required unless match is any).
action: Stringwebhook|auto_reply|forward_email.
target: StringTarget, 1..2048 characters.
position: Option<i64>Position 0..10000.
Trait Implementations§
Source§impl Clone for NumberRuleInput
impl Clone for NumberRuleInput
Source§impl Debug for NumberRuleInput
impl Debug for NumberRuleInput
Source§impl Default for NumberRuleInput
impl Default for NumberRuleInput
Auto Trait Implementations§
impl Forget for NumberRuleInput
impl Freeze for NumberRuleInput
impl Move for NumberRuleInput
impl RefUnwindSafe for NumberRuleInput
impl Send for NumberRuleInput
impl Sync for NumberRuleInput
impl Unpin for NumberRuleInput
impl UnsafeUnpin for NumberRuleInput
impl UnwindSafe for NumberRuleInput
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