[−][src]Struct hap::service::security_system::SecuritySystemService
Security System Service.
Fields
security_system_current_state: SecuritySystemCurrentStateCharacteristicSecurity System Current State Characteristic (required).
security_system_target_state: SecuritySystemTargetStateCharacteristicSecurity System Target State Characteristic (required).
status_fault: Option<StatusFaultCharacteristic>Status Fault Characteristic (optional).
status_tampered: Option<StatusTamperedCharacteristic>Status Tampered Characteristic (optional).
security_system_alarm_type: Option<SecuritySystemAlarmTypeCharacteristic>Security System Alarm Type Characteristic (optional).
name: Option<NameCharacteristic>Name Characteristic (optional).
Implementations
impl SecuritySystemService[src]
Trait Implementations
impl Debug for SecuritySystemService[src]
impl Default for SecuritySystemService[src]
pub fn default() -> SecuritySystemService[src]
impl HapService for SecuritySystemService[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 SecuritySystemService[src]
Auto Trait Implementations
impl !RefUnwindSafe for SecuritySystemService
impl Send for SecuritySystemService
impl Sync for SecuritySystemService
impl Unpin for SecuritySystemService
impl !UnwindSafe for SecuritySystemService
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>,