Struct sep2_common::packages::prepayment::ServiceChange
source · pub struct ServiceChange {
pub new_status: ServiceStatusType,
pub start_time: TimeType,
}
Available on crate feature
prepayment
only.Expand description
Specifies a change to the service status.
Fields§
§new_status: ServiceStatusType
The new service status, to take effect at the time specified by startTime
start_time: TimeType
The date/time when the change is to take effect.
Trait Implementations§
source§impl Clone for ServiceChange
impl Clone for ServiceChange
source§fn clone(&self) -> ServiceChange
fn clone(&self) -> ServiceChange
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 ServiceChange
impl Debug for ServiceChange
source§impl Default for ServiceChange
impl Default for ServiceChange
source§fn default() -> ServiceChange
fn default() -> ServiceChange
Returns the “default value” for a type. Read more
source§impl PartialEq<ServiceChange> for ServiceChange
impl PartialEq<ServiceChange> for ServiceChange
source§fn eq(&self, other: &ServiceChange) -> bool
fn eq(&self, other: &ServiceChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ServiceChange
impl YaDeserialize for ServiceChange
source§impl YaSerialize for ServiceChange
impl YaSerialize for ServiceChange
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 ServiceChange
impl StructuralEq for ServiceChange
impl StructuralPartialEq for ServiceChange
Auto Trait Implementations§
impl RefUnwindSafe for ServiceChange
impl Send for ServiceChange
impl Sync for ServiceChange
impl Unpin for ServiceChange
impl UnwindSafe for ServiceChange
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