pub struct TypeRegistryPin {
pub type_code: TypeCode,
pub schema_hash: [u8; 32],
}Expand description
Pinned (TypeCode, schema_hash) registered for this world. v0.13 ships
the slot empty; the snapshot integration will populate it from
ActionRegistry (cross-restart pin set).
Fields§
§type_code: TypeCodePinned type code.
schema_hash: [u8; 32]BLAKE3 hash of the canonical schema bytes for type_code.
Trait Implementations§
Source§impl Clone for TypeRegistryPin
impl Clone for TypeRegistryPin
Source§fn clone(&self) -> TypeRegistryPin
fn clone(&self) -> TypeRegistryPin
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeRegistryPin
impl Debug for TypeRegistryPin
Source§impl<'de> Deserialize<'de> for TypeRegistryPin
impl<'de> Deserialize<'de> for TypeRegistryPin
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
Source§impl PartialEq for TypeRegistryPin
impl PartialEq for TypeRegistryPin
Source§impl Serialize for TypeRegistryPin
impl Serialize for TypeRegistryPin
impl Eq for TypeRegistryPin
impl StructuralPartialEq for TypeRegistryPin
Auto Trait Implementations§
impl Freeze for TypeRegistryPin
impl RefUnwindSafe for TypeRegistryPin
impl Send for TypeRegistryPin
impl Sync for TypeRegistryPin
impl Unpin for TypeRegistryPin
impl UnsafeUnpin for TypeRegistryPin
impl UnwindSafe for TypeRegistryPin
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