[−][src]Struct yooper::ssdp::message::MSearch
Fields
host: String
man: ManDiscover
cache_control: Option<String>
max_wait: Option<u8>
Maximum wait time in seconds. shall be greater than or equal to 1 and should be less than 5 inclusive.
target: SearchTarget
Field value contains Search Target.
user_agent: Option<String>
Field value shall begin with the following “product tokens” (defined by HTTP/1.1). The first product token identifes the operating system in the form OS name/OS version, the second token represents the UPnP version and shall be UPnP/2.0, and the third token identifes the product using the form product name/product version. For example, “USER-AGENT: unix/5.1 UPnP/2.0 MyProduct/1.0”.
tcp_port: Option<u16>
if set, this TCP port can be used for any follow up requests
friendly_name: Option<String>
Specifies the friendly name of the control point. The friendly name is vendor specific.
uuid: Option<String>
uuid of the control point.
Trait Implementations
impl Debug for MSearch
[src]
impl Default for MSearch
[src]
impl FromHeaders for MSearch
[src]
fn from_headers(headers: &Headers) -> Result<Self, Error>
[src]
impl PartialEq<MSearch> for MSearch
[src]
impl StructuralPartialEq for MSearch
[src]
impl ToHeaders for MSearch
[src]
fn to_headers(&self) -> Headers
[src]
Auto Trait Implementations
impl RefUnwindSafe for MSearch
impl Send for MSearch
impl Sync for MSearch
impl Unpin for MSearch
impl UnwindSafe for MSearch
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,