pub struct DialClient {
pub identity: String,
pub url: Option<String>,
pub method: Option<String>,
pub status_callback_event: Option<Vec<String>>,
pub status_callback: Option<String>,
pub status_callback_method: Option<String>,
pub client_notification_url: Option<String>,
}Fields§
§identity: String§url: Option<String>§method: Option<String>§status_callback_event: Option<Vec<String>>§status_callback: Option<String>§status_callback_method: Option<String>§client_notification_url: Option<String>Implementations§
Source§impl DialClient
impl DialClient
pub fn new(identity: impl Into<String>) -> Self
pub fn url(self, url: impl Into<String>) -> Self
pub fn method(self, method: impl Into<String>) -> Self
pub fn status_callback_event(self, events: Vec<String>) -> Self
pub fn status_callback(self, callback: impl Into<String>) -> Self
pub fn status_callback_method(self, method: impl Into<String>) -> Self
pub fn client_notification_url(self, url: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for DialClient
impl Clone for DialClient
Source§fn clone(&self) -> DialClient
fn clone(&self) -> DialClient
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 moreAuto Trait Implementations§
impl Freeze for DialClient
impl RefUnwindSafe for DialClient
impl Send for DialClient
impl Sync for DialClient
impl Unpin for DialClient
impl UnwindSafe for DialClient
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