Struct vtubestudio::data::ApiStateResponse
source · [−]pub struct ApiStateResponse {
pub active: bool,
pub vtubestudio_version: String,
pub current_session_authenticated: bool,
}
Expand description
The API state.
This is the return value of ApiStateRequest
.
Fields
active: bool
Whether the API is active.
vtubestudio_version: String
The VTube Studio version.
current_session_authenticated: bool
Whether the current session is authenticated.
Trait Implementations
sourceimpl Clone for ApiStateResponse
impl Clone for ApiStateResponse
sourcefn clone(&self) -> ApiStateResponse
fn clone(&self) -> ApiStateResponse
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 ApiStateResponse
impl Debug for ApiStateResponse
sourceimpl Default for ApiStateResponse
impl Default for ApiStateResponse
sourcefn default() -> ApiStateResponse
fn default() -> ApiStateResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ApiStateResponse
impl<'de> Deserialize<'de> for ApiStateResponse
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<ApiStateResponse> for ApiStateResponse
impl PartialEq<ApiStateResponse> for ApiStateResponse
sourcefn eq(&self, other: &ApiStateResponse) -> bool
fn eq(&self, other: &ApiStateResponse) -> bool
sourceimpl Response for ApiStateResponse
impl Response for ApiStateResponse
sourceimpl Serialize for ApiStateResponse
impl Serialize for ApiStateResponse
impl StructuralPartialEq for ApiStateResponse
Auto Trait Implementations
impl RefUnwindSafe for ApiStateResponse
impl Send for ApiStateResponse
impl Sync for ApiStateResponse
impl Unpin for ApiStateResponse
impl UnwindSafe for ApiStateResponse
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