pub struct SupplyInterruptionOverride {
pub description: Option<String32>,
pub interval: DateTimeInterval,
pub href: Option<String>,
}
Available on crate feature
prepayment
only.Fields§
§description: Option<String32>
The description is a human readable text describing or naming the object.
interval: DateTimeInterval
Interval defines the period of time during which supply should not be interrupted.
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 SupplyInterruptionOverride
impl Clone for SupplyInterruptionOverride
source§fn clone(&self) -> SupplyInterruptionOverride
fn clone(&self) -> SupplyInterruptionOverride
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 SupplyInterruptionOverride
impl Debug for SupplyInterruptionOverride
source§impl Default for SupplyInterruptionOverride
impl Default for SupplyInterruptionOverride
source§fn default() -> SupplyInterruptionOverride
fn default() -> SupplyInterruptionOverride
Returns the “default value” for a type. Read more
source§impl Ord for SupplyInterruptionOverride
impl Ord for SupplyInterruptionOverride
source§impl PartialEq<SupplyInterruptionOverride> for SupplyInterruptionOverride
impl PartialEq<SupplyInterruptionOverride> for SupplyInterruptionOverride
source§fn eq(&self, other: &SupplyInterruptionOverride) -> bool
fn eq(&self, other: &SupplyInterruptionOverride) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SupplyInterruptionOverride> for SupplyInterruptionOverride
impl PartialOrd<SupplyInterruptionOverride> for SupplyInterruptionOverride
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl YaDeserialize for SupplyInterruptionOverride
impl YaDeserialize for SupplyInterruptionOverride
source§impl YaSerialize for SupplyInterruptionOverride
impl YaSerialize for SupplyInterruptionOverride
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 SupplyInterruptionOverride
impl StructuralEq for SupplyInterruptionOverride
impl StructuralPartialEq for SupplyInterruptionOverride
Auto Trait Implementations§
impl RefUnwindSafe for SupplyInterruptionOverride
impl Send for SupplyInterruptionOverride
impl Sync for SupplyInterruptionOverride
impl Unpin for SupplyInterruptionOverride
impl UnwindSafe for SupplyInterruptionOverride
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