pub struct Device<'a> { /* private fields */ }

Implementations

Get a DeviceConfig for a device id.

Set the IP address, subnet mask, and gateway of a device.

Get the Status of a device.

Get the NaiveDateTime of the device.

Set the date and time of the device.

Return the IP address and port to which the selected controller sends events.

Get the DoorControl (DoorControlMode and delay) of a door. Note that the first door id is 1, not 0.

Set the DoorControl (DoorControlMode and delay) of a door.Note that the first door id is 1, not 0.

Open a door. Note that the first door id is 1, not 0.

Get all the amount of cards in the system.

Get a specific Card by its index.

Get a Card by its card number.

Add a Card to the system.

Remove a Card from the system.

Get the event index.

Set the event index.

Get an Event by its index.

Enable/disable recording of special events

Get a TimeProfile by its index.

Set a TimeProfile by its index. Note that profile ID has to be larger than 1.

Clear all TimeProfiles.

Add a Task to the system.

Refresh the task list.

Clear the task list

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.