Struct XfsArray

Source
#[repr(C)]
pub struct XfsArray { /* private fields */ }
Expand description

Represents an XFS array containing a list of [XfsValues].

Implementations§

Source§

impl XfsArray

Source

pub const fn new() -> Self

Creates a new XfsArray.

Source

pub fn create<D: IntoIterator<Item = XfsValue>>(data: D) -> Self

Creates a new XfsArray from the provided XfsValue list.

Source

pub fn data(&self) -> &[ListValue]

Gets the data list of [XfsValues].

Source

pub fn set_data<D: IntoIterator<Item = XfsValue>>(&mut self, data: D)

Sets the data list of [XfsValues].

Source

pub fn with_data<D: IntoIterator<Item = XfsValue>>(self, data: D) -> Self

Builder function that sets the data list of [XfsValues].

Trait Implementations§

Source§

impl Clone for XfsArray

Source§

fn clone(&self) -> XfsArray

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for XfsArray

Source§

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

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

impl<'de> Deserialize<'de> for XfsArray

Source§

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 Display for XfsArray

Source§

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

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

impl From<&BillEndingInMMSectionCounters> for XfsArray

Source§

fn from(val: &BillEndingInMMSectionCounters) -> Self

Converts to this type from the input type.
Source§

impl From<&BillsetIdList> for XfsArray

Source§

fn from(val: &BillsetIdList) -> Self

Converts to this type from the input type.
Source§

impl From<&CashTypeAcceptanceHistoryList> for XfsArray

Source§

fn from(val: &CashTypeAcceptanceHistoryList) -> Self

Converts to this type from the input type.
Source§

impl From<&CashTypeDispenseHistoryItems> for XfsArray

Source§

fn from(val: &CashTypeDispenseHistoryItems) -> Self

Converts to this type from the input type.
Source§

impl From<&CashTypeList> for XfsArray

Source§

fn from(val: &CashTypeList) -> Self

Converts to this type from the input type.
Source§

impl From<&CashTypeRecycleHistoryItems> for XfsArray

Source§

fn from(val: &CashTypeRecycleHistoryItems) -> Self

Converts to this type from the input type.
Source§

impl From<&CdrPositionCapabilitiesList> for XfsArray

Source§

fn from(val: &CdrPositionCapabilitiesList) -> Self

Converts to this type from the input type.
Source§

impl From<&CdrPositionStatusList> for XfsArray

Source§

fn from(val: &CdrPositionStatusList) -> Self

Converts to this type from the input type.
Source§

impl From<&DenominationItems> for XfsArray

Source§

fn from(val: &DenominationItems) -> Self

Converts to this type from the input type.
Source§

impl From<&DenominationList> for XfsArray

Source§

fn from(val: &DenominationList) -> Self

Converts to this type from the input type.
Source§

impl From<&IncidentStartSectionCountersList> for XfsArray

Source§

fn from(val: &IncidentStartSectionCountersList) -> Self

Converts to this type from the input type.
Source§

impl From<&InterfaceCountList> for XfsArray

Source§

fn from(val: &InterfaceCountList) -> Self

Converts to this type from the input type.
Source§

impl From<&LogicalCashUnitItems> for XfsArray

Source§

fn from(val: &LogicalCashUnitItems) -> Self

Converts to this type from the input type.
Source§

impl From<&ModuleCountList> for XfsArray

Source§

fn from(val: &ModuleCountList) -> Self

Converts to this type from the input type.
Source§

impl From<&PhysicalCashUnitItems> for XfsArray

Source§

fn from(val: &PhysicalCashUnitItems) -> Self

Converts to this type from the input type.
Source§

impl From<&RecognitionSensorTemperatures> for XfsArray

Source§

fn from(val: &RecognitionSensorTemperatures) -> Self

Converts to this type from the input type.
Source§

impl From<&Slots> for XfsArray

Source§

fn from(val: &Slots) -> Self

Converts to this type from the input type.
Source§

impl From<BillEndingInMMSectionCounters> for XfsArray

Source§

fn from(val: BillEndingInMMSectionCounters) -> Self

Converts to this type from the input type.
Source§

impl From<BillsetIdList> for XfsArray

Source§

fn from(val: BillsetIdList) -> Self

Converts to this type from the input type.
Source§

impl From<CashTypeAcceptanceHistoryList> for XfsArray

Source§

fn from(val: CashTypeAcceptanceHistoryList) -> Self

Converts to this type from the input type.
Source§

impl From<CashTypeDispenseHistoryItems> for XfsArray

Source§

fn from(val: CashTypeDispenseHistoryItems) -> Self

Converts to this type from the input type.
Source§

impl From<CashTypeList> for XfsArray

Source§

fn from(val: CashTypeList) -> Self

Converts to this type from the input type.
Source§

impl From<CashTypeRecycleHistoryItems> for XfsArray

Source§

fn from(val: CashTypeRecycleHistoryItems) -> Self

Converts to this type from the input type.
Source§

impl From<CdrPositionCapabilitiesList> for XfsArray

Source§

fn from(val: CdrPositionCapabilitiesList) -> Self

Converts to this type from the input type.
Source§

impl From<CdrPositionStatusList> for XfsArray

Source§

fn from(val: CdrPositionStatusList) -> Self

Converts to this type from the input type.
Source§

impl From<DenominationItems> for XfsArray

Source§

fn from(val: DenominationItems) -> Self

Converts to this type from the input type.
Source§

impl From<DenominationList> for XfsArray

Source§

fn from(val: DenominationList) -> Self

Converts to this type from the input type.
Source§

impl From<IncidentStartSectionCountersList> for XfsArray

Source§

fn from(val: IncidentStartSectionCountersList) -> Self

Converts to this type from the input type.
Source§

impl From<InterfaceCountList> for XfsArray

Source§

fn from(val: InterfaceCountList) -> Self

Converts to this type from the input type.
Source§

impl From<LogicalCashUnitItems> for XfsArray

Source§

fn from(val: LogicalCashUnitItems) -> Self

Converts to this type from the input type.
Source§

impl From<ModuleCountList> for XfsArray

Source§

fn from(val: ModuleCountList) -> Self

Converts to this type from the input type.
Source§

impl From<PhysicalCashUnitItems> for XfsArray

Source§

fn from(val: PhysicalCashUnitItems) -> Self

Converts to this type from the input type.
Source§

impl From<RecognitionSensorTemperatures> for XfsArray

Source§

fn from(val: RecognitionSensorTemperatures) -> Self

Converts to this type from the input type.
Source§

impl From<Slots> for XfsArray

Source§

fn from(val: Slots) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for XfsArray

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for XfsArray

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&XfsArray> for BillEndingInMMSectionCounters

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for BillsetIdList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for CashTypeAcceptanceHistoryList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for CashTypeDispenseHistoryItems

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for CashTypeList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for CashTypeRecycleHistoryItems

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for CdrPositionCapabilitiesList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for CdrPositionStatusList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for DenominationItems

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for DenominationList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for IncidentStartSectionCountersList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for InterfaceCountList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for LogicalCashUnitItems

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for ModuleCountList

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for PhysicalCashUnitItems

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for RecognitionSensorTemperatures

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<&XfsArray> for Slots

Source§

type Error = Error

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

fn try_from(val: &XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for BillEndingInMMSectionCounters

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for BillsetIdList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for CashTypeAcceptanceHistoryList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for CashTypeDispenseHistoryItems

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for CashTypeList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for CashTypeRecycleHistoryItems

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for CdrPositionCapabilitiesList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for CdrPositionStatusList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for DenominationItems

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for DenominationList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for IncidentStartSectionCountersList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for InterfaceCountList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for LogicalCashUnitItems

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for ModuleCountList

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for PhysicalCashUnitItems

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for RecognitionSensorTemperatures

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl TryFrom<XfsArray> for Slots

Source§

type Error = Error

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

fn try_from(val: XfsArray) -> Result<Self>

Performs the conversion.
Source§

impl StructuralPartialEq for XfsArray

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,