pub struct CreateSipIpAddressParams {
pub account_sid: String,
pub ip_access_control_list_sid: String,
pub friendly_name: String,
pub ip_address: String,
pub cidr_prefix_length: Option<i32>,
}
Expand description
struct for passing parameters to the method create_sip_ip_address
Fields§
§account_sid: String
The unique id of the Account responsible for this resource.
ip_access_control_list_sid: String
The IpAccessControlList Sid with which to associate the created IpAddress resource.
friendly_name: String
A human readable descriptive text for this resource, up to 255 characters long.
ip_address: String
An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today.
cidr_prefix_length: Option<i32>
An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used.
Trait Implementations§
Source§impl Clone for CreateSipIpAddressParams
impl Clone for CreateSipIpAddressParams
Source§fn clone(&self) -> CreateSipIpAddressParams
fn clone(&self) -> CreateSipIpAddressParams
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for CreateSipIpAddressParams
impl RefUnwindSafe for CreateSipIpAddressParams
impl Send for CreateSipIpAddressParams
impl Sync for CreateSipIpAddressParams
impl Unpin for CreateSipIpAddressParams
impl UnwindSafe for CreateSipIpAddressParams
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