pub struct Parameter {
pub name: String,
pub value: String,
}
Expand description
Parameter related to a payload.
Fields§
§name: String
The name of the parameter, from the list at https://www.iana.org/assignments/sdp-parameters/sdp-parameters.xhtml
value: String
The value of this parameter.
Trait Implementations§
Source§impl TryFrom<Element> for Parameter
impl TryFrom<Element> for Parameter
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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