pub struct CreateSIPDispatchRuleOptions {
pub name: String,
pub metadata: String,
pub attributes: HashMap<String, String>,
pub trunk_ids: Vec<String>,
pub allowed_numbers: Vec<String>,
pub hide_phone_number: bool,
}
Fields§
§name: String
§metadata: String
§attributes: HashMap<String, String>
§trunk_ids: Vec<String>
What trunks are accepted for this dispatch rule If empty all trunks will match this dispatch rule
allowed_numbers: Vec<String>
§hide_phone_number: bool
Trait Implementations§
Source§impl Clone for CreateSIPDispatchRuleOptions
impl Clone for CreateSIPDispatchRuleOptions
Source§fn clone(&self) -> CreateSIPDispatchRuleOptions
fn clone(&self) -> CreateSIPDispatchRuleOptions
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 CreateSIPDispatchRuleOptions
impl Debug for CreateSIPDispatchRuleOptions
Source§impl Default for CreateSIPDispatchRuleOptions
impl Default for CreateSIPDispatchRuleOptions
Source§fn default() -> CreateSIPDispatchRuleOptions
fn default() -> CreateSIPDispatchRuleOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateSIPDispatchRuleOptions
impl RefUnwindSafe for CreateSIPDispatchRuleOptions
impl Send for CreateSIPDispatchRuleOptions
impl Sync for CreateSIPDispatchRuleOptions
impl Unpin for CreateSIPDispatchRuleOptions
impl UnwindSafe for CreateSIPDispatchRuleOptions
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