Struct osmosis_test_tube::Gov
source · pub struct Gov<'a, R: Runner<'a>> { /* private fields */ }
Implementations§
source§impl<'a, R> Gov<'a, R>where
R: Runner<'a>,
impl<'a, R> Gov<'a, R>where
R: Runner<'a>,
pub fn submit_proposal( &self, msg: MsgSubmitProposal, signer: &SigningAccount ) -> RunnerExecuteResult<MsgSubmitProposalResponse>
pub fn vote( &self, msg: MsgVote, signer: &SigningAccount ) -> RunnerExecuteResult<MsgVoteResponse>
pub fn query_proposal( &self, msg: &QueryProposalRequest ) -> RunnerResult<QueryProposalResponse>
pub fn query_params( &self, msg: &QueryParamsRequest ) -> RunnerResult<QueryParamsResponse>
pub fn submit_executable_proposal<M: Message>( &self, msg_type_url: String, msg: M, initial_deposit: Vec<Coin>, proposer: String, signer: &SigningAccount ) -> RunnerExecuteResult<MsgSubmitProposalResponse>
Trait Implementations§
Auto Trait Implementations§
impl<'a, R> RefUnwindSafe for Gov<'a, R>where
R: RefUnwindSafe,
impl<'a, R> Send for Gov<'a, R>where
R: Sync,
impl<'a, R> Sync for Gov<'a, R>where
R: Sync,
impl<'a, R> Unpin for Gov<'a, R>
impl<'a, R> UnwindSafe for Gov<'a, R>where
R: RefUnwindSafe,
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