pub struct Builder { /* private fields */ }
Implementations§
Source§impl Builder
impl Builder
pub fn new(call_id: CallId) -> Self
pub fn add_global( self, name: impl Into<StateName>, data: StrictVal, raw: Option<StrictVal>, api: &Api, sys: &TypeSystem, ) -> Self
pub fn add_owned( self, name: impl Into<StateName>, auth: AuthToken, data: StrictVal, lock: Option<CellLock>, api: &Api, sys: &TypeSystem, ) -> Self
pub fn issue_genesis(self, codex_id: CodexId) -> Genesis
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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