pub struct LibDescr {
pub lib: Cell,
pub publishers: Dict<HashBytes, ()>,
}Expand description
Shared libraries currently can be present only in masterchain blocks.
Fields§
§lib: CellLibrary code.
publishers: Dict<HashBytes, ()>Accounts in the masterchain that store this library.
Trait Implementations§
Source§impl Store for LibDescr
impl Store for LibDescr
Source§fn store_into(
&self,
builder: &mut CellBuilder,
_: &mut dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, _: &mut dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for LibDescr
impl StructuralPartialEq for LibDescr
Auto Trait Implementations§
impl Freeze for LibDescr
impl !RefUnwindSafe for LibDescr
impl Send for LibDescr
impl Sync for LibDescr
impl Unpin for LibDescr
impl !UnwindSafe for LibDescr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.