2 unstable releases
0.2.0 | Jun 20, 2022 |
---|---|
0.1.0 | Jun 11, 2022 |
#13 in #vk
Used in rvk_methods
49KB
1.5K
SLoC
Represents various objects that are returned as JSON by the VK API.
It has two complementary crates: rvk
, which allows accessing the API,
and rvk_methods
, which provides methods to avoid the need to
specify them as strings in rvk
(it depends on rvk
to call the methods).
These crates can also be used separately.
Note that for rvk_methods
and rvk_objects
, the supported versions of the VK API may be different.
Consult the API_VERSION
constant in these crates to learn which versions they support.
See here for an example of using all 3 crates.
Note: type
and ref
fields
Since type
and ref
are Rust keywords, an underscore (_
) is added at the end of these:
type
->type_
,ref
->ref_
.
Note
Due to the nature of the VK API documentation, it is not always clear if the value is always passed or not, and sometimes the data type is not defined.
If you spot any mistakes or bugs, please report them!
Dependencies
~0.3–1MB
~21K SLoC