pub struct DirectoryRecord<'a> {
pub dataset: &'a DataSet,
pub children: Vec<DirectoryRecord<'a>>,
}Expand description
A directory record and the records below it.
Fields§
§dataset: &'a DataSetThe record’s own attributes.
children: Vec<DirectoryRecord<'a>>The records its (0004,1420) points at, in order.
Implementations§
Source§impl<'a> DirectoryRecord<'a>
impl<'a> DirectoryRecord<'a>
Sourcepub fn record_type(&self) -> Result<Option<&'a str>>
pub fn record_type(&self) -> Result<Option<&'a str>>
(0004,1430) Directory Record Type, or None when the element is absent.
Sourcepub fn referenced_file(&self) -> Result<Option<String>>
pub fn referenced_file(&self) -> Result<Option<String>>
(0004,1500) Referenced File ID, its components joined by \.
The attribute is multi-valued, one component per path segment, so it is read through
[Element::string_values] rather than [Element::string], which would report the first
component alone.
Trait Implementations§
Source§impl<'a> Clone for DirectoryRecord<'a>
impl<'a> Clone for DirectoryRecord<'a>
Auto Trait Implementations§
impl<'a> Forget for DirectoryRecord<'a>
impl<'a> Freeze for DirectoryRecord<'a>
impl<'a> Move for DirectoryRecord<'a>
impl<'a> RefUnwindSafe for DirectoryRecord<'a>
impl<'a> Send for DirectoryRecord<'a>
impl<'a> Sync for DirectoryRecord<'a>
impl<'a> Unpin for DirectoryRecord<'a>
impl<'a> UnsafeUnpin for DirectoryRecord<'a>
impl<'a> UnwindSafe for DirectoryRecord<'a>
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