pub struct RegistrationsPerTable {
pub address: Vec<(RegistryKey, Address)>,
pub asset_id: Vec<(RegistryKey, AssetId)>,
pub contract_id: Vec<(RegistryKey, ContractId)>,
pub script_code: Vec<(RegistryKey, ScriptCode)>,
pub predicate_code: Vec<(RegistryKey, PredicateCode)>,
}Expand description
The set of registrations for each table, as used in the compressed block header
Fields§
§address: Vec<(RegistryKey, Address)>§asset_id: Vec<(RegistryKey, AssetId)>§contract_id: Vec<(RegistryKey, ContractId)>§script_code: Vec<(RegistryKey, ScriptCode)>§predicate_code: Vec<(RegistryKey, PredicateCode)>Implementations§
Source§impl RegistrationsPerTable
impl RegistrationsPerTable
pub fn write_to_registry<R>(
&self,
registry: &mut R,
timestamp: Tai64,
) -> Result<()>where
R: TemporalRegistryAll,
Trait Implementations§
Source§impl Clone for RegistrationsPerTable
impl Clone for RegistrationsPerTable
Source§fn clone(&self) -> RegistrationsPerTable
fn clone(&self) -> RegistrationsPerTable
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 RegistrationsPerTable
impl Debug for RegistrationsPerTable
Source§impl Default for RegistrationsPerTable
impl Default for RegistrationsPerTable
Source§fn default() -> RegistrationsPerTable
fn default() -> RegistrationsPerTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistrationsPerTable
impl<'de> Deserialize<'de> for RegistrationsPerTable
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 RegistrationsPerTable
impl PartialEq for RegistrationsPerTable
Source§impl Serialize for RegistrationsPerTable
impl Serialize for RegistrationsPerTable
impl Eq for RegistrationsPerTable
impl StructuralPartialEq for RegistrationsPerTable
Auto Trait Implementations§
impl Freeze for RegistrationsPerTable
impl RefUnwindSafe for RegistrationsPerTable
impl Send for RegistrationsPerTable
impl Sync for RegistrationsPerTable
impl Unpin for RegistrationsPerTable
impl UnsafeUnpin for RegistrationsPerTable
impl UnwindSafe for RegistrationsPerTable
Blanket Implementations§
Source§impl<T> AnyDebug for T
impl<T> AnyDebug for T
Source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any.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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, Ctx, Decompressed> Decompress<Decompressed, Ctx> for Twhere
Ctx: ContextError,
Decompressed: DecompressibleBy<Ctx, Compressed = T>,
impl<T, Ctx, Decompressed> Decompress<Decompressed, Ctx> for Twhere
Ctx: ContextError,
Decompressed: DecompressibleBy<Ctx, Compressed = T>,
Source§async fn decompress(
self,
ctx: &Ctx,
) -> Result<Decompressed, <Ctx as ContextError>::Error>
async fn decompress( self, ctx: &Ctx, ) -> Result<Decompressed, <Ctx as ContextError>::Error>
Perform decompression, returning the original data.
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more