Struct sep2_common::packages::prepayment::PrepayOperationStatus
source · pub struct PrepayOperationStatus {
pub credit_type_change: Option<CreditTypeChange>,
pub credit_type_in_use: Option<CreditTypeType>,
pub service_change: Option<ServiceChange>,
pub service_status: ServiceStatusType,
pub href: Option<String>,
}
Available on crate feature
prepayment
only.Fields§
§credit_type_change: Option<CreditTypeChange>
CreditTypeChange is used to define a pending change of creditTypeInUse, which will activate at a specified time.
credit_type_in_use: Option<CreditTypeType>
CreditTypeInUse identifies whether the present mode of operation is consuming regular credit or emergency credit.
service_change: Option<ServiceChange>
ServiceChange is used to define a pending change of serviceStatus, which will activate at a specified time.
service_status: ServiceStatusType
ServiceStatus identifies whether the service is connected or disconnected, or armed for connection or disconnection.
href: Option<String>
A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.
Trait Implementations§
source§impl Clone for PrepayOperationStatus
impl Clone for PrepayOperationStatus
source§fn clone(&self) -> PrepayOperationStatus
fn clone(&self) -> PrepayOperationStatus
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 PrepayOperationStatus
impl Debug for PrepayOperationStatus
source§impl Default for PrepayOperationStatus
impl Default for PrepayOperationStatus
source§fn default() -> PrepayOperationStatus
fn default() -> PrepayOperationStatus
Returns the “default value” for a type. Read more
source§impl PartialEq<PrepayOperationStatus> for PrepayOperationStatus
impl PartialEq<PrepayOperationStatus> for PrepayOperationStatus
source§fn eq(&self, other: &PrepayOperationStatus) -> bool
fn eq(&self, other: &PrepayOperationStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEResource for PrepayOperationStatus
impl SEResource for PrepayOperationStatus
source§impl YaDeserialize for PrepayOperationStatus
impl YaDeserialize for PrepayOperationStatus
source§impl YaSerialize for PrepayOperationStatus
impl YaSerialize for PrepayOperationStatus
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 Eq for PrepayOperationStatus
impl StructuralEq for PrepayOperationStatus
impl StructuralPartialEq for PrepayOperationStatus
Auto Trait Implementations§
impl RefUnwindSafe for PrepayOperationStatus
impl Send for PrepayOperationStatus
impl Sync for PrepayOperationStatus
impl Unpin for PrepayOperationStatus
impl UnwindSafe for PrepayOperationStatus
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