pub struct BACnetAuthenticationFactorFormat {
pub format_type: AuthenticationFactorType,
pub vendor_id: Option<u16>,
pub vendor_format: Option<u16>,
}Expand description
One element of a Credential Data Input’s Supported_Formats array
(BACnetAuthenticationFactorFormat, Clause 21; Clause 12.36.9).
The format type goes out as a context [0] ENUMERATED, and the two
vendor members, when present, as context [1] and [2] Unsigned16
values. A CUSTOM format names its vendor and that vendor’s format number
in them; any other format leaves them out or sets them to zero.
Fields§
§format_type: AuthenticationFactorTypeThe format read.
vendor_id: Option<u16>For a CUSTOM format, the Vendor_Identifier of the company whose format it is.
vendor_format: Option<u16>That vendor’s number for the CUSTOM format.
Implementations§
Trait Implementations§
impl Copy for BACnetAuthenticationFactorFormat
impl Eq for BACnetAuthenticationFactorFormat
impl StructuralPartialEq for BACnetAuthenticationFactorFormat
Auto Trait Implementations§
impl Freeze for BACnetAuthenticationFactorFormat
impl RefUnwindSafe for BACnetAuthenticationFactorFormat
impl Send for BACnetAuthenticationFactorFormat
impl Sync for BACnetAuthenticationFactorFormat
impl Unpin for BACnetAuthenticationFactorFormat
impl UnsafeUnpin for BACnetAuthenticationFactorFormat
impl UnwindSafe for BACnetAuthenticationFactorFormat
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