pub struct UpdateUsageTriggerParams {
pub account_sid: String,
pub sid: String,
pub callback_method: Option<String>,
pub callback_url: Option<String>,
pub friendly_name: Option<String>,
}
Expand description
struct for passing parameters to the method update_usage_trigger
Fields§
§account_sid: String
The SID of the Account that created the UsageTrigger resources to update.
sid: String
The Twilio-provided string that uniquely identifies the UsageTrigger resource to update.
callback_method: Option<String>
The HTTP method we should use to call callback_url
. Can be: GET
or POST
and the default is POST
.
callback_url: Option<String>
The URL we should call using callback_method
when the trigger fires.
friendly_name: Option<String>
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
Trait Implementations§
Source§impl Clone for UpdateUsageTriggerParams
impl Clone for UpdateUsageTriggerParams
Source§fn clone(&self) -> UpdateUsageTriggerParams
fn clone(&self) -> UpdateUsageTriggerParams
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 UpdateUsageTriggerParams
impl RefUnwindSafe for UpdateUsageTriggerParams
impl Send for UpdateUsageTriggerParams
impl Sync for UpdateUsageTriggerParams
impl Unpin for UpdateUsageTriggerParams
impl UnwindSafe for UpdateUsageTriggerParams
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