Crate bnr_xfs Copy item path Source pub use device_handle ::*;device_handle xfs XFS message types for BNR communication. create_xfs_array create_xfs_bool Creates a new XFS boolean type. create_xfs_date_time create_xfs_i4 Creates a new XFS i4 type. create_xfs_string create_xfs_struct Creates an XFS struct type. impl_default Implements the Default trait for types that have a new function. impl_xfs_array Common functionality for XFS struct types. impl_xfs_bool Common functionality for XFS boolean types. impl_xfs_date_time Common functionality for XFS dateTime types. impl_xfs_enum Implements traits common to XFS enum types. impl_xfs_i4 Common functionality for XFS i4 types. impl_xfs_int Common functionality for XFS int types. impl_xfs_string Common functionality for XFS string types. impl_xfs_struct Common functionality for XFS struct types. inner_enum Provides convenience functions to destructure an enum with new-type variants. AllowUsbFrontSwitch Allows to use USB Front interface to communicate with the BNR. Default value is TRUE. Amount Represents a denomination amount. AmountNotAvailableCount Represents the amount not available count. AutoPresent This specifies whether cash will be automatically presented to the user on execution of a dispense (autoPresent set to TRUE), or whether the cash will only be transported to the Bundler. AutoRetractAtInlet Specifies whether bill will be automatically retracted to positioner when jam occurred during bill presenting at inlet or outlet. Default value is FALSE. BadRoughShapeCount Represents the bad rough shape count. BadShapeCount Represents the bad shape count. BadShapeRejectCount Represents the bad shape reject count. BillAcceptanceHistory Represents the bill acceptance history. BillDispenseHistory Represents the bill dispense history of the BNR device. BillEndingInMMSectionCounters Represents a list of bill ending in main module section count items. BillErrorCount Represents the bill error count. BillExtractedCount Represents the bill extracted count. BillIntakeCoverCount Represents the bill intake cover count. BillJamCount Represents the bill jam count. BillNotAvailableCount Represents the bill not available count. BillRequestedCount Represents the bill requested count. BillRolledBackCount Represents the bill rolled back count. BillTooLongInBottomTransportBwCount Represents the bill too long in bottom transport bw count. BillTooLongInSpineFwCount Represents the bill too long in spine fw count. BillTooShortInBottomTransportBwCount Represents the bill too short in bottom transport bw count. BillTooShortInSpineFwCount Represents the bill too short in spine fw count. BillsTakenSensor The device has a bills taken sensor. Always TRUE in the BNR. BillsetId BillsetIdList Represents a list of BillsetInfo . BillsetInfo Represents billset information. BottomTransportCount Represents the bottom transport count. BundlerCount Represents the bundler count. CallbackIntermediateResponse Represents a response to a callback call made by the device. CallbackOperationResponse Represents a response to a callback call made by the device. CallbackResult Represents the result for a particular callback operation. CallbackStatus Represents the identification ID for a particular callback operation. CallbackStatusResponse Represents a response to a callback call made by the device. CancelRejectCount Represents the cancel reject count. Capabilities Describes the BNR capabilities. CashBox The service can handle a cash box. Always TRUE in the BNR. CashInTransactionCount Represents the cash in transaction count. CashModulesLockCount Represents the cash modules locked count. CashOrder Represents a cash order event initiated by the device. CashType Represents a cash type ISO currency code, value, and variant. CashTypeAcceptanceHistory Represents the history of cash acceptance events. CashTypeAcceptanceHistoryList Represents a list of CashTypeAcceptanceHistory items. CashTypeDispenseHistory Represents the dispense history of each CashType CashTypeDispenseHistoryItems Represents a list of CashTypeDispenseHistory items. CashTypeList CashType list used for LCU’s secondary cash_type .CashTypeRecycleHistoryItem Represents a cash type recycle history item. CashTypeRecycleHistoryItems Represents a list of CashTypeRecycleHistoryItem items. CashUnit Represents a cash unit in a BNR device. Cashbox Represents a denomination cashbox amount. Category2 Euro Article 6, Category 2 support Category3 Euro Article 6, Category 3 support CdrPositionCapabilities Characteristics of an input/output position. CdrPositionCapabilitiesList List of position capabilties. CdrPositionStatusList List of CDR stacker status by position. CdrStatus Represents the CDR status returned by the
get_status call. ComponentType Represents the component type of the VersionRequirement ConfigurationErrorCount Represents the configuration error count. ConfigurationRejectCount Represents the configuration reject count. ConfusionCount Represents the confusion count. ContentStatusSupported Specifies whether there is a sensor to detect if the position is empty. Count Represents the note count. Currency Represents a currency set used in the CDR. CurrencyCode Represents an ISO 4217 currency code. CurrentDateTime Represents the device current date time. DenominateAmountCount Represents the denominate amount count. Denomination This structure handles a list of DenominationItem s. DenominationInfo Denomination information for enabling and configuring BNR denominations. DenominationItem This structure describes the number of bills stored to or dispensed from a Logical Cash Unit. DenominationItems DenominationList Represents a list of DenominationInfo . Deposit The device can deposit cash. Always TRUE in the BNR. DepositCount Represents the deposit count. DepositCounters Represents counters for deposits. Detector The device supports a detector to verify accepted cash. Always TRUE in the BNR. DirectFromLoaderCount Represents the direct from loader count. DisappearedCount Represents the disappeared count. Dispense The device can dispense cash. Equals to FALSE in BNA6 configuration, otherwise equals to TRUE. DispenseAmountCount Represents the dispense amount count. DispenseCount Represents the dispense count. DispenseCounters Represents counters for dispensed notes. DispenseRequest Structure that defines the parameters of bnr_Dispense() or bnr_Denominate(), to specify
either an amount or a list of banknotes to dispense. EmptiedCount Represents the emptied count. EnableDenomination Represents whether to enable a denomination specified by a DenominationInfo . EnvironmentErrorCount Represents the environment error count. Escrow The device supports an escrow. Always TRUE in the BNR. EscrowSize Specifies the maximum number of bills on the escrow. Equals to 20 in BNA6 configuration, otherwise equals to 15. EuroArt6Capability Capabilities for Euro Article 6. Exponent Represents the exponent field of a [Currency]. ExtendedCounters Represents extended counters for a cash unit. ExtractionRejectCount Represents the extraction reject count. ExtractionRejectDetails Represents the details of extraction reject events. FitnessCount Represents the fitness count. FitnessRejectCount Represents the fitness reject count. ForcedInCount Represents the forced in count. ForgeryCount Represents the forgery count. HardwareFailureCount Represents the hardware failure count. HardwareFailureWithBillStoppedCount Represents the hardware failure with bill stopped count. HeldBackCount Represents the held back count. IncidentStartSectionCounters Represents the incident start section counters. IncidentStartSectionCountersList Represents a list of incident start section count items. IncompatibleSoftwareCount Represents the incompatible software count. InitialCount Represents the initial note count. InletAcceptanceHistory Represents inlet acceptance history. InletDetectionCount Represents the inlet detection count. Input Specifies whether this position can be used as source for an accept command. InsertionRejectCount Represents the reject count for bill insertion. InsertionRejectDetails Represents details about inssertion reject events. InsertionStartCount Represents the start count for bill insertion. InterfaceCount Represents the interface count. InterfaceCountList Represents a list of interface count items. IntermediateIdentificationId Represents the specific call instance for a particular callback operation. IntermediateStacker The device has a temporary storage before presenting bills. Always TRUE in the BNR. InternalResetCount Represents the internal reset count. InternalResetWithBillStoppedCount Represents the internal reset with bill stopped count. LoaderAcceptanceHistory Acceptance bills extracted from the loader unit. LoaderSlotAcceptanceHistory Represents the loader slot acceptance history. Lock Representation of the lock field of a PhysicalCashUnit . LogicalCashUnit Represents a logical cash unit, and its parameters. LogicalCashUnitItems LogicalCashUnitList Represents a list of LogicalCashUnit s. MainModuleSectionCounters Represents the main module section counters. Major Represents the major component of the Version MaxInBills Maximum number of bills to be accepted by one command. Allways 1 for the BNR. MaxItems Maximum number of items which this position can hold. MaxOutBills Maximum number of bills to be dispensed by one command. Equals to 20 in BNA6 configuration, otherwise equals to 15. MaxSize Represents the maximum size of a list. Minor Represents the minor component of the Version MissingModuleCount Represents the missile module count. ModuleCount Represents the module count. ModuleCountList Represents a list of module count items. ModuleType Represents the module type of the VersionRequirement Number Represents a CU ID number. OperationIdentificationId Represents the specific call instance for a particular callback operation. OperationalDegradedCount Represents the operational degraded count. OtherDenominationCount Represents the other denomination count. Output Specifies whether this position can be used as target for a dispense command. PcuName Represents the name of a PCU. PerSectionHistory Represents the internal XFS representation of per-section history. PerSectionHistoryInternal Represents the internal XFS representation of per-section history. PhysicalCashUnit Represents a XFS physical cash unit and its parameters. PhysicalCashUnitItems PhysicalCashUnitList Represents a list of PhysicalCashUnit s. PositionStatus Status of a CDR stacker. PositionerCount Represents the positioner count. PositioningFailedCount Represents the positioning failed count. PowerDownWithBillStoppedCount Represents the power down with bill stopped count. PowerSupplyVoltage Represents a device power supply voltage. PowerUpCount Represents the power up count. RecognitionRejectCount Represents the recognition reject count. RecognitionRejectDetails Represents the details of recognition reject events. RecognitionSensorCoverCount Represents the recognition sensor cover count. RecognitionSensorTemperatures Represents the device recognition sensor temperatures. RecognitionSensorType Recognition sensor type identification. Always ‘B’ in the BNR. RecognitionSystemCount Represents the recognition system count. Refill Can the BNR be refilled by placing bills of the same size on the stack of the Loader. Always TRUE in the BNR. Refusal Specifies whether refused notes can be moved to this position during cash_in command. RejectCount Represents the reject count. RejectViaOutlet Specifies whether measured but unknown or inhibited notes are rejected via the BNR’s Outlet instead of the Inlet. Default value is FALSE. RemovedCount Represents the removed count. ReportUsbConsumption Specifies whether real max USB line consumption is reported on usb configuration descriptor instead of 0mA. Default value is FALSE. ResetWithCoverOpenCount Represents the reset with cover open count. ResetWithInterlockOpenCount Represents the reset with interlock open count. Retract The cash dispenser can retract presented bills. Always TRUE in the BNR since FW v1.3.0, FALSE with previous versions. RetractedCount Represents the retracted count. Rollback Specifies whether this position can be used as target forcash_in_rollback command. SafeDoorCmd This device supports a safe door command. Always FALSE in the BNR. SecurityLevel Represents the security level for acceptance of a denomination specified by a [DenominationInfo]. SensorTemperature Represents a device sensor temperature. ShutterCmd The shutter be accessed by commands. Allways FALSE in the BNR. ShutterStatusSupported Specifies whether shutter status reporting is supported. Size Represents the size of a list. SlotNumber Represents the slot number. Slots Represents a list of LoaderSlotAcceptanceHistory items. SpineCount Represents the spine count. SpineCoverCount Represents the spine cover count. StackedWhileRecyclerFullCount Represents the stacked while recycler full count. StainedCount Represents the stained count. Status Represents the status of a CU module. StringDetectionCount Represents the string detection count. StudyVersion Represents the study version of a denomination specified by a DenominationInfo . SuperimposedCount Represents the superimposed count. SuspectCount Represents the suspect count. SystemCycleCount Represents the device system cycle count. SystemEventCount Represents the system event count. SystemFailureHistory Represents the history of system failure events. SystemFailureHistoryInternal Alternative internal representation the history of system failure events. SystemOpeningCount Represents the system opening count. SystemOpeningDetails Represents the system opening details. SystemRestartHistory Represents the history of system restart events. SystemTemperature Represents the device system temperature. SystemUseHistory Represents the system use history. Threshold Structure that defines the levels determining a physical cash unit ThresholdStatus . ThresholdEmpty The PCU ThresholdStatus becomes Empty when the bill count is lower or equal to this value. ThresholdFull The PCU ThresholdStatus becomes Full when the bill count is greater or equal to this value. ThresholdHigh The PCU ThresholdStatus becomes High when the bill count is greater than this value. ThresholdLow The PCU ThresholdStatus becomes Low when the bill count is lower to this value. TimeSinceOperational Represents the device time since operational. TooLongCount Represents the too long count. TooManyBillsCount Represents the too many bills count. TooThickCount Represents the too thick count. TotalUpTime Represents the device total up time. TransportCount Represents the transport count. TransportErrorCount Represents the transport error count. TransportEventCount Represents the transport event count. TransportRejectCount Represents the transport reject count. TransportRejectDetails Represents the details of transport reject events. TrustedUser Reserved for future use. Unfit Euro Article 6, Unfit classification Unit Represents a denomination unit. UnitId Represents the ID of an LCU and/or PCU. UnknownCount Represents the unknown count. UnknownRejectCount Represents the unknown reject count. UnnamedCount Represents an unnamed count. UpTime Represents the device up time. ValidCount Represents the valid count. ValidUnfitCount Represents the valid unfit count. Value Represents the value of a CashType . Variant Represents the variant of a CashType . Version Simple version structure, used in version requirements. VersionRequirement Represents a version requirement. WithBillStoppedCount Represents the with bill stopped count. AntiFishingLevel Defines the sensitivity level of string detection at Inlet. BnrError Represents BNR error codes. CdrPosition Represents a CDR position CdrType Types of CDR units. ContentStatus Represents content status values. CuKind Specifies, if cash unit can dispense, deposit cash or both. CuType Type of cash unit. DefaultRollbackPosition Represents a CDR position DeviceStatus Represents CDR device status values. DispenserStatus Represents CDR dispenser status values. Error An error type for the crate. HardwareStatus Represents the overall status of the CDR hardware. IntermediateEvent Cash Module intermediate event. IntermediateStackerStatus Represents intermediate stacker status values. LCU Represents the logical cash unit in the CDR. MixNumber Represents variants for mixing algorithms in different contexts of CDR operation. ReportingMode Defines the kind of error report to be generated when a failure is detected whith no bill being transported. SafeDoorStatus Represents safe door status values. SecuredCommLevel Values for indication of the security level in communication between Host and BNR. SelfTestMode Defines how the BNR perform the self tests. ShutterStatus Represents shutter status values. ThresholdMode Threshold mode used to determine the [ThresholdStatus] of a PCU. ThresholdStatus Filling status of a cash unit. TransportStatus Represents transport status values. UsbError Represents USB error codes. BILLSET_ID_LIST_LEN CASH_AVAILABLE CASH_TAKEN CASH_TYPE_HISTORY_DEFAULT CASH_TYPE_HISTORY_LIST_LEN CASH_TYPE_LIST_LEN CASH_TYPE_RECYCLE_DEFAULT CASH_TYPE_RECYCLE_LIST_LEN CASH_UNIT_CHANGED CASH_UNIT_CONFIG_CHANGED CASH_UNIT_OK CASH_UNIT_STATE CASH_UNIT_STOP CASH_UNIT_THRESHOLD CASH_UNIT_UNKNOWN CDR_IS_EMPTY CDR_IS_NOT_EMPTY CDR_IS_UNKNOWN CDR_POS_BOTTOM CDR_POS_CAP_LIST_LEN CDR_POS_TOP CT_EMPTY CT_NOT_EMPTY DENOMINATION_LIST_LEN DENOM_ITEM_LEN DEVICE_STATUS_CHANGED HARDWARE_ERROR LCU_BAIT_TRAP LCU_BILL_CASSETTE LCU_COIN_CYLINDER LCU_COIN_DISPENSER LCU_COUPON LCU_CURRENCY_CASSETTE LCU_DEPOSIT LCU_DISPENSE LCU_DOCUMENT LCU_EMPTY LCU_ESCROW LCU_FULL LCU_HIGH LCU_INOP LCU_LIST_LEN Maximum number of LogicalCashUnit s that can be present on a device. LCU_LOW LCU_MISSING LCU_NA LCU_NOT_DISPENSABLE LCU_NO_REF LCU_NO_VALUE LCU_OK LCU_OVERFLOW_CASSETTE LCU_RECYCLE LCU_REJECT_CASSETTE LCU_RETRACT_CASSETTE LCU_UNKNOWN LOADER_SLOT_DEFAULT OFF_LINE ON_LINE PCU_LIST_LEN Maximum number of PhysicalCashUnit s that can be present on a device. PCU_NAME_LEN POS_STATUS_LIST_LEN SD_LOCKED SD_OPEN SD_UNKNOWN SHT_CLOSED SHT_NOT_SUPPORTED SHT_OPEN SHT_UNKNOWN SLOT_HISTORY_LIST_LEN TRANSPORT_CHANGED TRANSPORT_INOP TRANSPORT_OK TRANSPORT_UNKNOWN UNIT_ID_LEN USER_ERROR Result Convenience alias for a Result type for the crate.