pub struct DomainLibrary {
pub name: String,
pub domains: Vec<DomainEntry>,
}Expand description
Container fuer 1+ Domain-Definitionen (§7.3.4.4.1).
Fields§
§name: StringName der Library (<domain_library name="…">).
domains: Vec<DomainEntry>Domain-Definitionen in Dokument-Reihenfolge.
Implementations§
Source§impl DomainLibrary
impl DomainLibrary
Sourcepub fn domain(&self, name: &str) -> Option<&DomainEntry>
pub fn domain(&self, name: &str) -> Option<&DomainEntry>
Lookup einer Domain anhand ihres Namens.
Trait Implementations§
Source§impl Clone for DomainLibrary
impl Clone for DomainLibrary
Source§fn clone(&self) -> DomainLibrary
fn clone(&self) -> DomainLibrary
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 DomainLibrary
impl Debug for DomainLibrary
Source§impl Default for DomainLibrary
impl Default for DomainLibrary
Source§fn default() -> DomainLibrary
fn default() -> DomainLibrary
Returns the “default value” for a type. Read more
Source§impl PartialEq for DomainLibrary
impl PartialEq for DomainLibrary
Source§fn eq(&self, other: &DomainLibrary) -> bool
fn eq(&self, other: &DomainLibrary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DomainLibrary
impl StructuralPartialEq for DomainLibrary
Auto Trait Implementations§
impl Freeze for DomainLibrary
impl RefUnwindSafe for DomainLibrary
impl Send for DomainLibrary
impl Sync for DomainLibrary
impl Unpin for DomainLibrary
impl UnsafeUnpin for DomainLibrary
impl UnwindSafe for DomainLibrary
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