Struct sep2_common::packages::conn_point::ConnectionPoint
source · pub struct ConnectionPoint {
pub connection_pointid: String32,
pub href: Option<String>,
}
Available on crate feature
csip_aus
only.Expand description
The intent of the Connection Point registration extension is to provide the capability for SEP2 servers to offer a consistent mechanism to provide additional information about the existence and location of a newly registered device on the network.
Fields§
§connection_pointid: String32
The ConnectionPoint identifier. By default, the National Metering identifier (NMI) is used to identify the network location of the device in this attribute.
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 ConnectionPoint
impl Clone for ConnectionPoint
source§fn clone(&self) -> ConnectionPoint
fn clone(&self) -> ConnectionPoint
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 ConnectionPoint
impl Debug for ConnectionPoint
source§impl Default for ConnectionPoint
impl Default for ConnectionPoint
source§fn default() -> ConnectionPoint
fn default() -> ConnectionPoint
Returns the “default value” for a type. Read more
source§impl PartialEq<ConnectionPoint> for ConnectionPoint
impl PartialEq<ConnectionPoint> for ConnectionPoint
source§fn eq(&self, other: &ConnectionPoint) -> bool
fn eq(&self, other: &ConnectionPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEResource for ConnectionPoint
impl SEResource for ConnectionPoint
source§impl YaDeserialize for ConnectionPoint
impl YaDeserialize for ConnectionPoint
source§impl YaSerialize for ConnectionPoint
impl YaSerialize for ConnectionPoint
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 ConnectionPoint
impl StructuralEq for ConnectionPoint
impl StructuralPartialEq for ConnectionPoint
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionPoint
impl Send for ConnectionPoint
impl Sync for ConnectionPoint
impl Unpin for ConnectionPoint
impl UnwindSafe for ConnectionPoint
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