pub struct RelayStatusResponse {
pub destination_id: u8,
pub command: EchoCode,
pub source: u8,
pub firmware_version: Version,
pub di_port: DIPortStatus,
pub relay_port: RelayPortStatus,
pub main_port_options: ControllerPortOptions,
pub wiegand_port_options: ControllerPortOptions,
pub main_port_arming: bool,
pub wiegand_port_arming: bool,
}Fields§
§destination_id: u8§command: EchoCode§source: u8§firmware_version: Version§di_port: DIPortStatus§relay_port: RelayPortStatus§main_port_options: ControllerPortOptions§wiegand_port_options: ControllerPortOptions§main_port_arming: bool§wiegand_port_arming: boolTrait Implementations§
Source§impl Clone for RelayStatusResponse
impl Clone for RelayStatusResponse
Source§fn clone(&self) -> RelayStatusResponse
fn clone(&self) -> RelayStatusResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RelayStatusResponse
impl Debug for RelayStatusResponse
Source§impl<'de> Deserialize<'de> for RelayStatusResponse
impl<'de> Deserialize<'de> for RelayStatusResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Response<RelayStatusResponse> for RelayStatusResponse
impl Response<RelayStatusResponse> for RelayStatusResponse
fn decode(raw: &[u8]) -> Result<RelayStatusResponse>
fn get_message_part(raw: &[u8]) -> Result<&[u8]>
fn get_data_parts( raw: &[u8], expected_command: Option<EchoCode>, ) -> Result<EchoResponse<'_>>
Auto Trait Implementations§
impl Freeze for RelayStatusResponse
impl RefUnwindSafe for RelayStatusResponse
impl Send for RelayStatusResponse
impl Sync for RelayStatusResponse
impl Unpin for RelayStatusResponse
impl UnsafeUnpin for RelayStatusResponse
impl UnwindSafe for RelayStatusResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more