pub struct Built { /* private fields */ }Expand description
The validated Built element of package metadata.
Unlike PackageMeta::description_field, whose nested Option
distinguishes an absent field from a present R NA, the optional
accessors here deliberately collapse both cases to None: for build
metadata, an absent Platform and an NA Platform carry the same
meaning to consumers (“no usable value”), so the distinction is not
preserved.
Implementations§
Trait Implementations§
impl Eq for Built
impl StructuralPartialEq for Built
Auto Trait Implementations§
impl Freeze for Built
impl RefUnwindSafe for Built
impl Send for Built
impl Sync for Built
impl Unpin for Built
impl UnsafeUnpin for Built
impl UnwindSafe for Built
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