Enum sep2_common::packages::billing::ChargeKind
source · #[repr(u8)]pub enum ChargeKind {
ConsumptionCharge = 0,
Rebate = 1,
AuxiliaryCharge = 2,
DemandCharge = 3,
TaxCharge = 4,
}
Available on crate feature
billing
only.Variants§
Trait Implementations§
source§impl Clone for ChargeKind
impl Clone for ChargeKind
source§fn clone(&self) -> ChargeKind
fn clone(&self) -> ChargeKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChargeKind
impl Debug for ChargeKind
source§impl Default for ChargeKind
impl Default for ChargeKind
source§fn default() -> ChargeKind
fn default() -> ChargeKind
Returns the “default value” for a type. Read more
source§impl PartialEq<ChargeKind> for ChargeKind
impl PartialEq<ChargeKind> for ChargeKind
source§fn eq(&self, other: &ChargeKind) -> bool
fn eq(&self, other: &ChargeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ChargeKind
impl YaDeserialize for ChargeKind
source§impl YaSerialize for ChargeKind
impl YaSerialize for ChargeKind
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Copy for ChargeKind
impl Eq for ChargeKind
impl StructuralEq for ChargeKind
impl StructuralPartialEq for ChargeKind
Auto Trait Implementations§
impl RefUnwindSafe for ChargeKind
impl Send for ChargeKind
impl Sync for ChargeKind
impl Unpin for ChargeKind
impl UnwindSafe for ChargeKind
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