pub struct SendMessageToEndpointRequest { /* private fields */ }Implementations§
Source§impl SendMessageToEndpointRequest
impl SendMessageToEndpointRequest
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 SendMessageToEndpointRequest
impl Clone for SendMessageToEndpointRequest
Source§fn clone(&self) -> SendMessageToEndpointRequest
fn clone(&self) -> SendMessageToEndpointRequest
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 SendMessageToEndpointRequest
impl Debug for SendMessageToEndpointRequest
Auto Trait Implementations§
impl Freeze for SendMessageToEndpointRequest
impl RefUnwindSafe for SendMessageToEndpointRequest
impl Send for SendMessageToEndpointRequest
impl Sync for SendMessageToEndpointRequest
impl Unpin for SendMessageToEndpointRequest
impl UnwindSafe for SendMessageToEndpointRequest
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