Struct sep2_common::packages::billing::ServiceSupplier
source · pub struct ServiceSupplier {
pub email: Option<String32>,
pub phone: Option<String20>,
pub provider_id: Option<Uint32>,
pub web: Option<String42>,
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub href: Option<String>,
}
Available on crate feature
billing
only.Fields§
§email: Option<String32>
E-mail address for this service supplier.
phone: Option<String20>
Human-readable phone number for this service supplier.
provider_id: Option<Uint32>
Contains the IANA PEN for the commodity provider.
web: Option<String42>
Website URI address for this service supplier.
mrid: MRIDType
The global identifier of the object.
description: Option<String32>
The description is a human readable text describing or naming the object.
version: Option<VersionType>
Contains the version number of the object. See the type definition for details.
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 ServiceSupplier
impl Clone for ServiceSupplier
source§fn clone(&self) -> ServiceSupplier
fn clone(&self) -> ServiceSupplier
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 ServiceSupplier
impl Debug for ServiceSupplier
source§impl Default for ServiceSupplier
impl Default for ServiceSupplier
source§fn default() -> ServiceSupplier
fn default() -> ServiceSupplier
Returns the “default value” for a type. Read more
source§impl Ord for ServiceSupplier
impl Ord for ServiceSupplier
source§fn cmp(&self, other: &ServiceSupplier) -> Ordering
fn cmp(&self, other: &ServiceSupplier) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ServiceSupplier> for ServiceSupplier
impl PartialEq<ServiceSupplier> for ServiceSupplier
source§fn eq(&self, other: &ServiceSupplier) -> bool
fn eq(&self, other: &ServiceSupplier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ServiceSupplier> for ServiceSupplier
impl PartialOrd<ServiceSupplier> for ServiceSupplier
source§fn partial_cmp(&self, other: &ServiceSupplier) -> Option<Ordering>
fn partial_cmp(&self, other: &ServiceSupplier) -> Option<Ordering>
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 SEIdentifiedObject for ServiceSupplier
impl SEIdentifiedObject for ServiceSupplier
source§impl SEResource for ServiceSupplier
impl SEResource for ServiceSupplier
source§impl YaDeserialize for ServiceSupplier
impl YaDeserialize for ServiceSupplier
source§impl YaSerialize for ServiceSupplier
impl YaSerialize for ServiceSupplier
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 ServiceSupplier
impl StructuralEq for ServiceSupplier
impl StructuralPartialEq for ServiceSupplier
Auto Trait Implementations§
impl RefUnwindSafe for ServiceSupplier
impl Send for ServiceSupplier
impl Sync for ServiceSupplier
impl Unpin for ServiceSupplier
impl UnwindSafe for ServiceSupplier
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