[][src]Struct hap::service::service_label::ServiceLabelService

pub struct ServiceLabelService {
    pub service_label_namespace: ServiceLabelNamespaceCharacteristic,
    pub name: Option<NameCharacteristic>,
    // some fields omitted
}

Service Label Service.

Fields

service_label_namespace: ServiceLabelNamespaceCharacteristic

Service Label Namespace Characteristic (required).

name: Option<NameCharacteristic>

Name Characteristic (optional).

Implementations

impl ServiceLabelService[src]

pub fn new(id: u64, accessory_id: u64) -> Self[src]

Creates a new Service Label Service.

Trait Implementations

impl Debug for ServiceLabelService[src]

impl Default for ServiceLabelService[src]

impl HapService for ServiceLabelService[src]

impl Serialize for ServiceLabelService[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,