pub struct UnitMeta {
pub id: String,
pub package: String,
pub hash: String,
}Expand description
Compilation unit metadata.
Fields§
§id: StringUnit ID (usually path).
package: StringPackage name.
hash: StringUnit hash.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnitMeta
impl<'de> Deserialize<'de> for UnitMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for UnitMeta
Auto Trait Implementations§
impl Freeze for UnitMeta
impl RefUnwindSafe for UnitMeta
impl Send for UnitMeta
impl Sync for UnitMeta
impl Unpin for UnitMeta
impl UnsafeUnpin for UnitMeta
impl UnwindSafe for UnitMeta
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