Docs.rs
cosmwasm-std-2.0.5
cosmwasm-std 2.0.5
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
github:confio:developers
webmaster128
Dependencies
base64 ^0.21.0
normal
bnum ^0.10.0
normal
cosmwasm-derive ^2.0.5
normal
derivative ^2
normal
forward_ref ^1
normal
hex ^0.4
normal
schemars ^0.8.3
normal
serde ^1.0.103
normal
serde-json-wasm ^1.0.1
normal
sha2 ^0.10.3
normal
static_assertions ^1.1.0
normal
thiserror ^1.0.26
normal
chrono ^0.4
dev
crc32fast ^1.3.2
dev
hex-literal ^0.3.1
dev
serde_json ^1.0.81
dev
bech32 ^0.9.1
normal
cosmwasm-crypto ^2.0.5
normal
Versions
77.78%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
cosmwasm_
std
2.0.5
Modules
storage_keys
testing
Macros
assert_approx_eq
ensure
ensure_eq
ensure_ne
forward_ref_partial_eq
impl_mul_fraction
Structs
Addr
AllBalanceResponse
AllDelegationsResponse
AllDenomMetadataResponse
AllValidatorsResponse
AnyMsg
Attribute
BalanceResponse
Binary
BlockInfo
BondedDenomResponse
CanonicalAddr
ChannelResponse
Checksum
ChecksumError
CodeInfoResponse
Coin
Coins
ContractInfo
ContractInfoResponse
ConversionOverflowError
DecCoin
Decimal
Decimal256
Decimal256RangeExceeded
DecimalRangeExceeded
Delegation
DelegationResponse
DelegationRewardsResponse
DelegationTotalRewardsResponse
DelegatorReward
DelegatorValidatorsResponse
DelegatorWithdrawAddressResponse
DenomMetadata
DenomMetadataResponse
DenomUnit
Deps
DepsMut
DivideByZeroError
Empty
Env
Event
FullDelegation
GrpcQuery
HexBinary
Ibc3ChannelOpenResponse
IbcAcknowledgement
IbcBasicResponse
IbcChannel
IbcEndpoint
IbcPacket
IbcPacketAckMsg
IbcPacketReceiveMsg
IbcPacketTimeoutMsg
IbcReceiveResponse
IbcTimeout
IbcTimeoutBlock
Int128
Int256
Int512
Int64
ListChannelsResponse
MemoryStorage
MessageInfo
MsgResponse
OverflowError
OwnedDeps
PageRequest
PortIdResponse
QuerierWrapper
Reply
Response
SignedDecimal
SignedDecimal256
SignedDecimal256RangeExceeded
SignedDecimalRangeExceeded
SubMsg
SubMsgResponse
SupplyResponse
Timestamp
TransactionInfo
Uint128
Uint256
Uint512
Uint64
Validator
ValidatorResponse
WeightedVoteOption
Enums
BankMsg
BankQuery
CheckedFromRatioError
CheckedMultiplyFractionError
CheckedMultiplyRatioError
CoinFromStrError
CoinsError
ContractResult
CosmosMsg
DistributionMsg
DistributionQuery
DivisionError
GovMsg
IbcChannelCloseMsg
IbcChannelConnectMsg
IbcChannelOpenMsg
IbcMsg
IbcOrder
IbcQuery
Instantiate2AddressError
Never
Order
OverflowOperation
QueryRequest
RecoverPubkeyError
ReplyOn
StakingMsg
StakingQuery
StdAck
StdError
SubMsgResult
SystemError
SystemResult
VerificationError
VoteOption
WasmMsg
WasmQuery
Traits
Api
CustomMsg
CustomQuery
Fraction
Isqrt
Querier
Storage
Functions
attr
coin
coins
from_binary
from_json
from_slice
has_coins
instantiate2_address
to_binary
to_json_binary
to_json_string
to_json_vec
to_vec
wasm_execute
wasm_instantiate
Type Aliases
IbcChannelOpenResponse
QuerierResult
QueryResponse
Record
StdResult
Attribute Macros
entry_point
?
Settings
Function
cosmwasm_std
::
to_vec
Copy item path
source
·
[
−
]
pub fn to_vec<T>(data:
&T
) ->
StdResult
<
Vec
<
u8
>>
where T:
Serialize
+ ?
Sized
,
👎
Deprecated: use to_json_vec instead