pub struct ComponentIdentity {
pub crate_name: String,
pub component: String,
pub version: String,
pub target: String,
pub feature_hash: String,
pub contract_hash: String,
}Fields§
§crate_name: String§component: String§version: String§target: String§feature_hash: String§contract_hash: StringHash of the first (lexicographically, by contract name) contract this
component provides. For a component providing exactly one contract –
the only shape the v1 loader fully validates today – this is that
contract’s real hash. See ComponentManifest::provides for the
complete, per-contract list.
Trait Implementations§
Source§impl Clone for ComponentIdentity
impl Clone for ComponentIdentity
Source§impl Debug for ComponentIdentity
impl Debug for ComponentIdentity
Source§impl<'de> Deserialize<'de> for ComponentIdentity
impl<'de> Deserialize<'de> for ComponentIdentity
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 Eq for ComponentIdentity
Source§impl PartialEq for ComponentIdentity
impl PartialEq for ComponentIdentity
Source§impl Serialize for ComponentIdentity
impl Serialize for ComponentIdentity
impl StructuralPartialEq for ComponentIdentity
Auto Trait Implementations§
impl Freeze for ComponentIdentity
impl RefUnwindSafe for ComponentIdentity
impl Send for ComponentIdentity
impl Sync for ComponentIdentity
impl Unpin for ComponentIdentity
impl UnsafeUnpin for ComponentIdentity
impl UnwindSafe for ComponentIdentity
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