pub struct PortProfile {
pub id: ProfileId,
pub name: String,
pub data_type: String,
pub direction: PortDirection,
pub properties: Vec<(String, String)>,
}Expand description
Spec §5.4.1 — Port-Profile (Beschreibung eines Ports einer Komponente).
Fields§
§id: ProfileIdUUID des Ports.
name: StringLokaler Name (z.B. "odom_in").
data_type: StringIDL-Type-Name des Port-Datenmodells (z.B. "geometry::Pose").
direction: PortDirectionDirection.
properties: Vec<(String, String)>User-defined Properties (Key-Value).
Trait Implementations§
Source§impl Clone for PortProfile
impl Clone for PortProfile
Source§fn clone(&self) -> PortProfile
fn clone(&self) -> PortProfile
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 PortProfile
impl Debug for PortProfile
Source§impl Default for PortProfile
impl Default for PortProfile
Source§fn default() -> PortProfile
fn default() -> PortProfile
Returns the “default value” for a type. Read more
Source§impl PartialEq for PortProfile
impl PartialEq for PortProfile
Source§fn eq(&self, other: &PortProfile) -> bool
fn eq(&self, other: &PortProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PortProfile
impl StructuralPartialEq for PortProfile
Auto Trait Implementations§
impl Freeze for PortProfile
impl RefUnwindSafe for PortProfile
impl Send for PortProfile
impl Sync for PortProfile
impl Unpin for PortProfile
impl UnsafeUnpin for PortProfile
impl UnwindSafe for PortProfile
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