Struct vtubestudio::data::StatisticsResponse
source · [−]pub struct StatisticsResponse {
pub uptime: i64,
pub framerate: i32,
pub vtubestudio_version: String,
pub allowed_plugins: i32,
pub connected_plugins: i32,
pub started_with_steam: bool,
pub window_width: i32,
pub window_height: i32,
pub window_is_fullscreen: bool,
}
Expand description
Statistics about the VTube Studio session.
This is the return value of StatisticsRequest
.
Fields
uptime: i64
Uptime in milliseconds.
framerate: i32
The frame rate.
vtubestudio_version: String
The VTube Studio version.
allowed_plugins: i32
Number of plugins registered.
connected_plugins: i32
Number of plugins currently connected.
started_with_steam: bool
Whether VTube Studio was started with Steam.
window_width: i32
Width of the window.
window_height: i32
Height of the window.
window_is_fullscreen: bool
Whether the window is in fullscreen mode.
Trait Implementations
sourceimpl Clone for StatisticsResponse
impl Clone for StatisticsResponse
sourcefn clone(&self) -> StatisticsResponse
fn clone(&self) -> StatisticsResponse
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 StatisticsResponse
impl Debug for StatisticsResponse
sourceimpl Default for StatisticsResponse
impl Default for StatisticsResponse
sourcefn default() -> StatisticsResponse
fn default() -> StatisticsResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StatisticsResponse
impl<'de> Deserialize<'de> for StatisticsResponse
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<StatisticsResponse> for StatisticsResponse
impl PartialEq<StatisticsResponse> for StatisticsResponse
sourcefn eq(&self, other: &StatisticsResponse) -> bool
fn eq(&self, other: &StatisticsResponse) -> bool
sourceimpl Response for StatisticsResponse
impl Response for StatisticsResponse
sourceimpl Serialize for StatisticsResponse
impl Serialize for StatisticsResponse
impl StructuralPartialEq for StatisticsResponse
Auto Trait Implementations
impl RefUnwindSafe for StatisticsResponse
impl Send for StatisticsResponse
impl Sync for StatisticsResponse
impl Unpin for StatisticsResponse
impl UnwindSafe for StatisticsResponse
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