#[non_exhaustive]pub enum LiveCreateTransport {
Webrtc {
sdp: String,
rest: Rest,
},
Sip {
destination: String,
trunk: LiveSipTrunk,
rest: Rest,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LiveCreateTransport
impl Clone for LiveCreateTransport
Source§impl Debug for LiveCreateTransport
impl Debug for LiveCreateTransport
Source§impl DeclaredFields for LiveCreateTransport
impl DeclaredFields for LiveCreateTransport
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for LiveCreateTransport
impl<'de> Deserialize<'de> for LiveCreateTransport
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
Source§impl PartialEq for LiveCreateTransport
impl PartialEq for LiveCreateTransport
Source§impl Serialize for LiveCreateTransport
impl Serialize for LiveCreateTransport
impl StructuralPartialEq for LiveCreateTransport
Auto Trait Implementations§
impl Freeze for LiveCreateTransport
impl RefUnwindSafe for LiveCreateTransport
impl Send for LiveCreateTransport
impl Sync for LiveCreateTransport
impl Unpin for LiveCreateTransport
impl UnsafeUnpin for LiveCreateTransport
impl UnwindSafe for LiveCreateTransport
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