Struct abstract_client::Publisher
source · pub struct Publisher<Chain: CwEnv> { /* private fields */ }Expand description
A Publisher represents an account that owns a namespace with the goal of publishing modules to the on-chain module-store.
Implementations§
source§impl<Chain: CwEnv> Publisher<Chain>
impl<Chain: CwEnv> Publisher<Chain>
sourcepub fn publish_app<M: ContractInstance<Chain> + RegisteredModule + From<Contract<Chain>> + AppDeployer<Chain>>(
&self
) -> Result<(), AbstractClientError>
pub fn publish_app<M: ContractInstance<Chain> + RegisteredModule + From<Contract<Chain>> + AppDeployer<Chain>>( &self ) -> Result<(), AbstractClientError>
Publish an Abstract App
sourcepub fn publish_adapter<CustomInitMsg: Serialize, M: ContractInstance<Chain> + RegisteredModule + From<Contract<Chain>> + AdapterDeployer<Chain, CustomInitMsg>>(
&self,
init_msg: CustomInitMsg
) -> Result<(), AbstractClientError>
pub fn publish_adapter<CustomInitMsg: Serialize, M: ContractInstance<Chain> + RegisteredModule + From<Contract<Chain>> + AdapterDeployer<Chain, CustomInitMsg>>( &self, init_msg: CustomInitMsg ) -> Result<(), AbstractClientError>
Publish an Abstract Adapter
Auto Trait Implementations§
impl<Chain> RefUnwindSafe for Publisher<Chain>where
Chain: RefUnwindSafe,
impl<Chain> Send for Publisher<Chain>where
Chain: Send,
impl<Chain> Sync for Publisher<Chain>where
Chain: Sync,
impl<Chain> Unpin for Publisher<Chain>where
Chain: Unpin,
impl<Chain> UnwindSafe for Publisher<Chain>where
Chain: UnwindSafe,
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moresource§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