pub struct SipGateway {Show 13 fields
pub format: String,
pub trunks: Vec<String>,
pub proxies: Vec<String>,
pub present: String,
pub country_code: String,
pub on_complete: String,
pub on_busy: String,
pub on_fail: String,
pub on_no_answer: String,
pub ring_time: u8,
pub max_call_time: u16,
pub transcribe_options: TranscribeOptions,
pub record_options: RecordOptions,
}
Fields§
§format: String
§trunks: Vec<String>
§proxies: Vec<String>
§present: String
§country_code: String
§on_complete: String
§on_busy: String
§on_fail: String
§on_no_answer: String
§ring_time: u8
§max_call_time: u16
§transcribe_options: TranscribeOptions
§record_options: RecordOptions
Trait Implementations§
Source§impl Debug for SipGateway
impl Debug for SipGateway
Source§impl<'de> Deserialize<'de> for SipGateway
impl<'de> Deserialize<'de> for SipGateway
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SipGateway
impl RefUnwindSafe for SipGateway
impl Send for SipGateway
impl Sync for SipGateway
impl Unpin for SipGateway
impl UnwindSafe for SipGateway
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more