pub struct RuntimeTableCfg<F> {
pub id: i32,
pub first_column: Vec<F>,
}
Expand description
Use this type at setup time, to list all the runtime tables.
Note: care must be taken as table IDs can collide with IDs of other types of lookup tables.
Fields§
§id: i32
The table ID.
first_column: Vec<F>
The content of the first column of the runtime table.
Implementations§
Trait Implementations§
Source§impl<F: Clone> Clone for RuntimeTableCfg<F>
impl<F: Clone> Clone for RuntimeTableCfg<F>
Source§fn clone(&self) -> RuntimeTableCfg<F>
fn clone(&self) -> RuntimeTableCfg<F>
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<F: Debug> Debug for RuntimeTableCfg<F>
impl<F: Debug> Debug for RuntimeTableCfg<F>
Source§impl<'de, F> Deserialize<'de> for RuntimeTableCfg<F>where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for RuntimeTableCfg<F>where
F: Deserialize<'de>,
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<F, CamlF> From<CamlRuntimeTableCfg<CamlF>> for RuntimeTableCfg<F>where
F: PrimeField,
CamlF: Into<F>,
impl<F, CamlF> From<CamlRuntimeTableCfg<CamlF>> for RuntimeTableCfg<F>where
F: PrimeField,
CamlF: Into<F>,
Source§fn from(caml_rt_cfg: CamlRuntimeTableCfg<CamlF>) -> Self
fn from(caml_rt_cfg: CamlRuntimeTableCfg<CamlF>) -> Self
Converts to this type from the input type.
Source§impl<F, CamlF> From<RuntimeTableCfg<F>> for CamlRuntimeTableCfg<CamlF>where
F: PrimeField,
CamlF: From<F>,
impl<F, CamlF> From<RuntimeTableCfg<F>> for CamlRuntimeTableCfg<CamlF>where
F: PrimeField,
CamlF: From<F>,
Source§fn from(rt_cfg: RuntimeTableCfg<F>) -> Self
fn from(rt_cfg: RuntimeTableCfg<F>) -> Self
Converts to this type from the input type.
Source§impl<F> From<RuntimeTableCfg<F>> for RuntimeTableSpec
impl<F> From<RuntimeTableCfg<F>> for RuntimeTableSpec
Source§fn from(rt_cfg: RuntimeTableCfg<F>) -> Self
fn from(rt_cfg: RuntimeTableCfg<F>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<F> Freeze for RuntimeTableCfg<F>
impl<F> RefUnwindSafe for RuntimeTableCfg<F>where
F: RefUnwindSafe,
impl<F> Send for RuntimeTableCfg<F>where
F: Send,
impl<F> Sync for RuntimeTableCfg<F>where
F: Sync,
impl<F> Unpin for RuntimeTableCfg<F>where
F: Unpin,
impl<F> UnwindSafe for RuntimeTableCfg<F>where
F: UnwindSafe,
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