[−][src]Struct hap::service::service_label::ServiceLabelService
Service Label Service.
Fields
service_label_namespace: ServiceLabelNamespaceCharacteristicService Label Namespace Characteristic (required).
name: Option<NameCharacteristic>Name Characteristic (optional).
Implementations
impl ServiceLabelService[src]
Trait Implementations
impl Debug for ServiceLabelService[src]
impl Default for ServiceLabelService[src]
pub fn default() -> ServiceLabelService[src]
impl HapService for ServiceLabelService[src]
pub fn get_id(&self) -> u64[src]
pub fn get_type(&self) -> HapType[src]
pub fn get_hidden(&self) -> bool[src]
pub fn set_hidden(&mut self, hidden: bool)[src]
pub fn get_primary(&self) -> bool[src]
pub fn set_primary(&mut self, primary: bool)[src]
pub fn get_characteristic(
&self,
hap_type: HapType
) -> Option<&dyn HapCharacteristic>[src]
&self,
hap_type: HapType
) -> Option<&dyn HapCharacteristic>
pub fn get_mut_characteristic(
&mut self,
hap_type: HapType
) -> Option<&mut dyn HapCharacteristic>[src]
&mut self,
hap_type: HapType
) -> Option<&mut dyn HapCharacteristic>
pub fn get_characteristics(&self) -> Vec<&dyn HapCharacteristic>[src]
pub fn get_mut_characteristics(&mut self) -> Vec<&mut dyn HapCharacteristic>[src]
impl Serialize for ServiceLabelService[src]
Auto Trait Implementations
impl !RefUnwindSafe for ServiceLabelService
impl Send for ServiceLabelService
impl Sync for ServiceLabelService
impl Unpin for ServiceLabelService
impl !UnwindSafe for ServiceLabelService
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,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized, [src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,