pub struct QosLibrary {
pub name: String,
pub profiles: Vec<QosProfile>,
}Expand description
Container fuer 1+ QoS-Profile gemaess DDS-XML 1.0 §7.3.2.
Mehrere Libraries duerfen pro Dokument vorkommen; jede Library traegt
einen name-Attribut. Lookups quer ueber Bibliotheken erfolgen via
2-Segment-Pfad library::profile.
Fields§
§name: StringName der Library (<qos_library name="…">-Attribut).
profiles: Vec<QosProfile>Profile in dieser Library, in Dokument-Reihenfolge.
Implementations§
Source§impl QosLibrary
impl QosLibrary
Sourcepub fn profile(&self, name: &str) -> Option<&QosProfile>
pub fn profile(&self, name: &str) -> Option<&QosProfile>
Sucht ein Profile innerhalb dieser Library nach Namen.
Trait Implementations§
Source§impl Clone for QosLibrary
impl Clone for QosLibrary
Source§fn clone(&self) -> QosLibrary
fn clone(&self) -> QosLibrary
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 QosLibrary
impl Debug for QosLibrary
Source§impl PartialEq for QosLibrary
impl PartialEq for QosLibrary
Source§fn eq(&self, other: &QosLibrary) -> bool
fn eq(&self, other: &QosLibrary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for QosLibrary
impl StructuralPartialEq for QosLibrary
Auto Trait Implementations§
impl Freeze for QosLibrary
impl RefUnwindSafe for QosLibrary
impl Send for QosLibrary
impl Sync for QosLibrary
impl Unpin for QosLibrary
impl UnsafeUnpin for QosLibrary
impl UnwindSafe for QosLibrary
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