☰
In fadroma::prelude::cosmwasm_std
In fadroma::prelude::cosmwasm_std
Modules
testing
Macros
create_entry_points
create_entry_points_with_migration
debug_print
Structs
AllBalanceResponse
AllDelegationsResponse
BalanceResponse
Binary
BlockInfo
BondedDenomResponse
BondedRatioResponse
CanonicalAddr
Coin
Context
ContractInfo
Decimal
Delegation
Empty
Env
Extern
FullDelegation
HandleResponse
HumanAddr
InflationResponse
InitResponse
LogAttribute
MemoryStorage
MessageInfo
MigrateResponse
ProposalsResponse
RewardsResponse
Uint128
UnbondingDelegationsResponse
Validator
ValidatorsResponse
Enums
BankMsg
BankQuery
CosmosMsg
DistQuery
GovMsg
GovQuery
MintQuery
Order
QueryRequest
StakingMsg
StakingQuery
StdError
SystemError
VoteOption
WasmMsg
WasmQuery
Traits
Api
Querier
ReadonlyStorage
Storage
Functions
coin
coins
debug_print
from_binary
from_slice
has_coins
log
plaintext_log
to_binary
to_vec
Type Definitions
HandleResult
InitResult
KV
MigrateResult
QuerierResult
QueryResponse
QueryResult
StdResult
SystemResult
?
Function
fadroma
::
prelude
::
cosmwasm_std
::
to_binary
source
·
[
−
]
pub fn to_binary<T>(data:
&
T) ->
Result
<
Binary
,
StdError
>
where
T:
Serialize
+ ?
Sized
,