Skip to main content

AccessEvent

Struct AccessEvent 

Source
pub struct AccessEvent(/* private fields */);
Expand description

BACnet access event (Clause 12.33).

Implementations§

Source§

impl AccessEvent

Source

pub const NONE: Self

Wire value 0.

Source

pub const GRANTED: Self

Wire value 1.

Source

pub const MUSTER: Self

Wire value 2.

Source

pub const PASSBACK_DETECTED: Self

Wire value 3.

Source

pub const DURESS: Self

Wire value 4.

Source

pub const TRACE: Self

Wire value 5.

Source

pub const LOCKOUT_MAX_ATTEMPTS: Self

Wire value 6.

Source

pub const LOCKOUT_OTHER: Self

Wire value 7.

Source

pub const LOCKOUT_RELINQUISHED: Self

Wire value 8.

Source

pub const LOCKED_BY_HIGHER_PRIORITY: Self

Wire value 9.

Source

pub const OUT_OF_SERVICE: Self

Wire value 10.

Source

pub const OUT_OF_SERVICE_RELINQUISHED: Self

Wire value 11.

Source

pub const ACCOMPANIMENT_BY: Self

Wire value 12.

Source

pub const AUTHENTICATION_FACTOR_READ: Self

Wire value 13.

Source

pub const AUTHORIZATION_DELAYED: Self

Wire value 14.

Source

pub const VERIFICATION_REQUIRED: Self

Wire value 15.

Source

pub const NO_ENTRY_AFTER_GRANTED: Self

Wire value 16.

Source

pub const DENIED_DENY_ALL: Self

Wire value 128.

Source

pub const DENIED_UNKNOWN_CREDENTIAL: Self

Wire value 129.

Source

pub const DENIED_AUTHENTICATION_UNAVAILABLE: Self

Wire value 130.

Source

pub const DENIED_AUTHENTICATION_FACTOR_TIMEOUT: Self

Wire value 131.

Source

pub const DENIED_INCORRECT_AUTHENTICATION_FACTOR: Self

Wire value 132.

Source

pub const DENIED_ZONE_NO_ACCESS_RIGHTS: Self

Wire value 133.

Source

pub const DENIED_POINT_NO_ACCESS_RIGHTS: Self

Wire value 134.

Source

pub const DENIED_NO_ACCESS_RIGHTS: Self

Wire value 135.

Source

pub const DENIED_OUT_OF_TIME_RANGE: Self

Wire value 136.

Source

pub const DENIED_THREAT_LEVEL: Self

Wire value 137.

Source

pub const DENIED_PASSBACK: Self

Wire value 138.

Source

pub const DENIED_UNEXPECTED_LOCATION_USAGE: Self

Wire value 139.

Source

pub const DENIED_MAX_ATTEMPTS: Self

Wire value 140.

Source

pub const DENIED_LOWER_OCCUPANCY_LIMIT: Self

Wire value 141.

Source

pub const DENIED_UPPER_OCCUPANCY_LIMIT: Self

Wire value 142.

Source

pub const DENIED_AUTHENTICATION_FACTOR_LOST: Self

Wire value 143.

Source

pub const DENIED_AUTHENTICATION_FACTOR_STOLEN: Self

Wire value 144.

Source

pub const DENIED_AUTHENTICATION_FACTOR_DAMAGED: Self

Wire value 145.

Source

pub const DENIED_AUTHENTICATION_FACTOR_DESTROYED: Self

Wire value 146.

Source

pub const DENIED_AUTHENTICATION_FACTOR_DISABLED: Self

Wire value 147.

Source

pub const DENIED_AUTHENTICATION_FACTOR_ERROR: Self

Wire value 148.

Source

pub const DENIED_CREDENTIAL_UNASSIGNED: Self

Wire value 149.

Source

pub const DENIED_CREDENTIAL_NOT_PROVISIONED: Self

Wire value 150.

Source

pub const DENIED_CREDENTIAL_NOT_YET_ACTIVE: Self

Wire value 151.

Source

pub const DENIED_CREDENTIAL_EXPIRED: Self

Wire value 152.

Source

pub const DENIED_CREDENTIAL_MANUAL_DISABLE: Self

Wire value 153.

Source

pub const DENIED_CREDENTIAL_LOCKOUT: Self

Wire value 154.

Source

pub const DENIED_CREDENTIAL_MAX_DAYS: Self

Wire value 155.

Source

pub const DENIED_CREDENTIAL_MAX_USES: Self

Wire value 156.

Source

pub const DENIED_CREDENTIAL_INACTIVITY: Self

Wire value 157.

Source

pub const DENIED_CREDENTIAL_DISABLED: Self

Wire value 158.

Source

pub const DENIED_NO_ACCOMPANIMENT: Self

Wire value 159.

Source

pub const DENIED_INCORRECT_ACCOMPANIMENT: Self

Wire value 160.

Source

pub const DENIED_LOCKOUT: Self

Wire value 161.

Source

pub const DENIED_VERIFICATION_FAILED: Self

Wire value 162.

Source

pub const DENIED_VERIFICATION_TIMEOUT: Self

Wire value 163.

Source

pub const DENIED_OTHER: Self

Wire value 164.

Source

pub const ALL_NAMED: &[(&str, Self)]

All named constants as (name, value) pairs.

Source

pub const fn from_raw(value: u32) -> Self

Create from a raw wire value.

Source

pub const fn to_raw(self) -> u32

Return the raw wire value.

Trait Implementations§

Source§

impl Clone for AccessEvent

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for AccessEvent

Source§

impl Debug for AccessEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for AccessEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for AccessEvent

Source§

impl FromStr for AccessEvent

Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parse a symbolic constant name, ignoring _/- separators and ASCII case, so every common spelling of a name is accepted (ANALOG_INPUT, analog-input, AnalogInput, analogInput, …).

Raw numeric values are not accepted; use from_raw for those.

Source§

type Err = ParseEnumError

The associated error which can be returned from parsing.
Source§

impl Hash for AccessEvent

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for AccessEvent

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for AccessEvent

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.