pub struct UpdateAddressParams {
pub account_sid: String,
pub sid: String,
pub friendly_name: Option<String>,
pub customer_name: Option<String>,
pub street: Option<String>,
pub city: Option<String>,
pub region: Option<String>,
pub postal_code: Option<String>,
pub emergency_enabled: Option<bool>,
pub auto_correct_address: Option<bool>,
pub street_secondary: Option<String>,
}
Expand description
struct for passing parameters to the method update_address
Fields§
§account_sid: String
The SID of the Account that is responsible for the Address resource to update.
sid: String
The Twilio-provided string that uniquely identifies the Address resource to update.
friendly_name: Option<String>
A descriptive string that you create to describe the address. It can be up to 64 characters long.
customer_name: Option<String>
The name to associate with the address.
street: Option<String>
The number and street address of the address.
city: Option<String>
The city of the address.
region: Option<String>
The state or region of the address.
postal_code: Option<String>
The postal code of the address.
emergency_enabled: Option<bool>
Whether to enable emergency calling on the address. Can be: true
or false
.
auto_correct_address: Option<bool>
Whether we should automatically correct the address. Can be: true
or false
and the default is true
. If empty or true
, we will correct the address you provide if necessary. If false
, we won’t alter the address you provide.
street_secondary: Option<String>
The additional number and street address of the address.
Trait Implementations§
Source§impl Clone for UpdateAddressParams
impl Clone for UpdateAddressParams
Source§fn clone(&self) -> UpdateAddressParams
fn clone(&self) -> UpdateAddressParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more