pub struct SendMessageRequest { /* private fields */ }Implementations§
Source§impl SendMessageRequest
impl SendMessageRequest
Sourcepub fn with_variables(self, value: impl Into<Value>) -> Self
pub fn with_variables(self, value: impl Into<Value>) -> Self
The “variables” key in the body object holds technology specific key/value pairs to append to the message.
These can be interpreted and used by the various resource types; for example, the pjsip resource type will add the key/value pairs as SIP headers. The “display_name” key is used by the PJSIP technology. Its value will be prepended as a display name to the Refer-To URI.
Trait Implementations§
Source§impl Clone for SendMessageRequest
impl Clone for SendMessageRequest
Source§fn clone(&self) -> SendMessageRequest
fn clone(&self) -> SendMessageRequest
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 SendMessageRequest
impl Debug for SendMessageRequest
Auto Trait Implementations§
impl Freeze for SendMessageRequest
impl RefUnwindSafe for SendMessageRequest
impl Send for SendMessageRequest
impl Sync for SendMessageRequest
impl Unpin for SendMessageRequest
impl UnwindSafe for SendMessageRequest
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