pub struct PositionPoint {
pub id: String,
pub location: Option<MridRef>,
pub sequence_number: Option<i64>,
pub x_position: String,
pub y_position: String,
pub z_position: String,
}Expand description
Set of spatial coordinates that determine a point, defined in the coordinate system specified in ‘Location.CoordinateSystem’. Use a single position point instance to describe a point-oriented location. Use a sequence of position points to describe a line-oriented object (physical location of non-point oriented objects like cables or lines), or area of an object (like a substation or a geographical zone - in this case, have first and last position point with the same values).
Fields§
§id: String§location: Option<MridRef>Location described by this position point.
sequence_number: Option<i64>Zero-relative sequence number of this point within a series of points.
x_position: StringX axis position.
y_position: StringY axis position.
z_position: String(if applicable) Z axis position.
Implementations§
Source§impl PositionPoint
impl PositionPoint
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for PositionPoint
impl CimElement for PositionPoint
Source§impl Clone for PositionPoint
impl Clone for PositionPoint
Source§fn clone(&self) -> PositionPoint
fn clone(&self) -> PositionPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PositionPoint
impl Debug for PositionPoint
Source§impl Default for PositionPoint
impl Default for PositionPoint
Source§fn default() -> PositionPoint
fn default() -> PositionPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PositionPoint
impl<'de> Deserialize<'de> for PositionPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PositionPoint
impl RefUnwindSafe for PositionPoint
impl Send for PositionPoint
impl Sync for PositionPoint
impl Unpin for PositionPoint
impl UnsafeUnpin for PositionPoint
impl UnwindSafe for PositionPoint
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