pub struct CreateUserDefinedMessageSubscriptionParams {
pub account_sid: String,
pub call_sid: String,
pub callback: String,
pub idempotency_key: Option<String>,
pub method: Option<String>,
}
Expand description
struct for passing parameters to the method create_user_defined_message_subscription
Fields§
§account_sid: String
The SID of the Account that subscribed to the User Defined Messages.
call_sid: String
The SID of the Call the User Defined Messages subscription is associated with. This refers to the Call SID that is producing the user defined messages.
callback: String
The URL we should call using the method
to send user defined events to your application. URLs must contain a valid hostname (underscores are not permitted).
idempotency_key: Option<String>
A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.
method: Option<String>
The HTTP method Twilio will use when requesting the above Url
. Either GET
or POST
. Default is POST
.
Trait Implementations§
Source§impl Clone for CreateUserDefinedMessageSubscriptionParams
impl Clone for CreateUserDefinedMessageSubscriptionParams
Source§fn clone(&self) -> CreateUserDefinedMessageSubscriptionParams
fn clone(&self) -> CreateUserDefinedMessageSubscriptionParams
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 CreateUserDefinedMessageSubscriptionParams
impl RefUnwindSafe for CreateUserDefinedMessageSubscriptionParams
impl Send for CreateUserDefinedMessageSubscriptionParams
impl Sync for CreateUserDefinedMessageSubscriptionParams
impl Unpin for CreateUserDefinedMessageSubscriptionParams
impl UnwindSafe for CreateUserDefinedMessageSubscriptionParams
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