pub struct Media<'a> {
pub type: Cow<'a, str>,
pub port: u32,
pub protocol: Vec<Cow<'a, str>>,
pub payloads: Vec<Cow<'a, str>>,
}
Expand description
Fields
type: Cow<'a, str>
port: u32
protocol: Vec<Cow<'a, str>>
payloads: Vec<Cow<'a, str>>
Implementations
Returns a version of self
with all fields converted to owning versions.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Media<'a>
impl<'a> UnwindSafe for Media<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more