[][src]Struct yooper::ssdp::message::SearchResponse

pub struct SearchResponse {
    pub max_age: String,
    pub date: Option<String>,
    pub location: String,
    pub server: String,
    pub secure_location: Option<String>,
    pub target: SearchTarget,
    pub unique_service_name: UniqueServiceName,
    pub boot_id: Option<i32>,
    pub config_id: Option<i32>,
    pub search_port: Option<u16>,
    // some fields omitted
}

Fields

max_age: String

Specifies how long this response is valid

date: Option<String>

When the responce was generated

location: String

The URL for the UPNP description of the root device

server: String

A server string like "unix/5.1 UPnP/2.0 MyProduct/1.0"

secure_location: Option<String>

If set, a base url with https:// that can be used instead of location

target: SearchTargetunique_service_name: UniqueServiceName

A unique service name for this particular service

boot_id: Option<i32>

presents the boot instance of the device expressed according to a monotonically increasing value.

config_id: Option<i32>

A number identifying this particular configuration. if configuration changes, this should change as well

search_port: Option<u16>

A port other than 1900 than can be used for queries

Trait Implementations

impl Debug for SearchResponse[src]

impl FromHeaders for SearchResponse[src]

impl PartialEq<SearchResponse> for SearchResponse[src]

impl StructuralPartialEq for SearchResponse[src]

impl ToHeaders for SearchResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.