#[non_exhaustive]pub struct RecordOwner<'c, 'r> {
pub package: &'c PkgContext,
pub bundle: &'r str,
pub path: &'r str,
pub version: &'r str,
}Expand description
A normalized record name split against the package table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.package: &'c PkgContextThe entry of the package table the record belongs to.
bundle: &'r strText before the first &; empty for records of this bundle.
path: &'r strPath inside the package, without extension; empty when the record is the package name alone.
version: &'r strText after the last &.
Trait Implementations§
Source§impl<'c, 'r> Clone for RecordOwner<'c, 'r>
impl<'c, 'r> Clone for RecordOwner<'c, 'r>
impl<'c, 'r> Copy for RecordOwner<'c, 'r>
Source§impl<'c, 'r> Debug for RecordOwner<'c, 'r>
impl<'c, 'r> Debug for RecordOwner<'c, 'r>
impl<'c, 'r> Eq for RecordOwner<'c, 'r>
Source§impl<'c, 'r> PartialEq for RecordOwner<'c, 'r>
impl<'c, 'r> PartialEq for RecordOwner<'c, 'r>
impl<'c, 'r> StructuralPartialEq for RecordOwner<'c, 'r>
Auto Trait Implementations§
impl<'c, 'r> Forget for RecordOwner<'c, 'r>
impl<'c, 'r> Freeze for RecordOwner<'c, 'r>
impl<'c, 'r> Move for RecordOwner<'c, 'r>
impl<'c, 'r> RefUnwindSafe for RecordOwner<'c, 'r>
impl<'c, 'r> Send for RecordOwner<'c, 'r>
impl<'c, 'r> Sync for RecordOwner<'c, 'r>
impl<'c, 'r> Unpin for RecordOwner<'c, 'r>
impl<'c, 'r> UnsafeUnpin for RecordOwner<'c, 'r>
impl<'c, 'r> UnwindSafe for RecordOwner<'c, 'r>
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