pub struct KeypadInputPlan {
pub enabled: Option<bool>,
pub timeout_seconds: Option<f64>,
pub delimiters: Option<DelimitersTrue>,
}
Fields§
§enabled: Option<bool>
This keeps track of whether the user has enabled keypad input. By default, it is off. @default false
timeout_seconds: Option<f64>
This is the time in seconds to wait before processing the input. If the input is not received within this time, the input will be ignored. If set to "off", the input will be processed when the user enters a delimiter or immediately if no delimiter is used. @default 2
delimiters: Option<DelimitersTrue>
This is the delimiter(s) that will be used to process the input. Can be ‘#’, ‘*’, or an empty array.
Implementations§
Source§impl KeypadInputPlan
impl KeypadInputPlan
pub fn new() -> KeypadInputPlan
Trait Implementations§
Source§impl Clone for KeypadInputPlan
impl Clone for KeypadInputPlan
Source§fn clone(&self) -> KeypadInputPlan
fn clone(&self) -> KeypadInputPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KeypadInputPlan
impl Debug for KeypadInputPlan
Source§impl Default for KeypadInputPlan
impl Default for KeypadInputPlan
Source§fn default() -> KeypadInputPlan
fn default() -> KeypadInputPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeypadInputPlan
impl<'de> Deserialize<'de> for KeypadInputPlan
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
Source§impl PartialEq for KeypadInputPlan
impl PartialEq for KeypadInputPlan
Source§impl Serialize for KeypadInputPlan
impl Serialize for KeypadInputPlan
impl StructuralPartialEq for KeypadInputPlan
Auto Trait Implementations§
impl Freeze for KeypadInputPlan
impl RefUnwindSafe for KeypadInputPlan
impl Send for KeypadInputPlan
impl Sync for KeypadInputPlan
impl Unpin for KeypadInputPlan
impl UnwindSafe for KeypadInputPlan
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