Struct vtubestudio::data::ItemListResponse
source · [−]pub struct ItemListResponse {
pub items_in_scene_count: i32,
pub total_items_allowed_count: i32,
pub can_load_items_right_now: bool,
pub available_spots: Vec<i32>,
pub item_instances_in_scene: Vec<ItemInstanceInScene>,
pub available_item_files: Vec<AvailableItemFile>,
}
Expand description
Item data.
This is the return value of ItemListRequest
.
Fields
items_in_scene_count: i32
Number of items in scene.
total_items_allowed_count: i32
Total items allowed.
can_load_items_right_now: bool
Whether item loading is allowed.
May be false
if the user has certain menus or dialogs open in VTube Studio. This
generally prevents actions such as loading items, using hotkeys and more.
available_spots: Vec<i32>
Available spots.
item_instances_in_scene: Vec<ItemInstanceInScene>
Item instances in scene.
available_item_files: Vec<AvailableItemFile>
Available item files.
Trait Implementations
sourceimpl Clone for ItemListResponse
impl Clone for ItemListResponse
sourcefn clone(&self) -> ItemListResponse
fn clone(&self) -> ItemListResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ItemListResponse
impl Debug for ItemListResponse
sourceimpl Default for ItemListResponse
impl Default for ItemListResponse
sourcefn default() -> ItemListResponse
fn default() -> ItemListResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ItemListResponse
impl<'de> Deserialize<'de> for ItemListResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ItemListResponse> for ItemListResponse
impl PartialEq<ItemListResponse> for ItemListResponse
sourcefn eq(&self, other: &ItemListResponse) -> bool
fn eq(&self, other: &ItemListResponse) -> bool
sourceimpl Response for ItemListResponse
impl Response for ItemListResponse
sourceimpl Serialize for ItemListResponse
impl Serialize for ItemListResponse
impl StructuralPartialEq for ItemListResponse
Auto Trait Implementations
impl RefUnwindSafe for ItemListResponse
impl Send for ItemListResponse
impl Sync for ItemListResponse
impl Unpin for ItemListResponse
impl UnwindSafe for ItemListResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more