Struct vtubestudio::data::HotkeysInCurrentModelResponse
source · [−]pub struct HotkeysInCurrentModelResponse {
pub model_loaded: bool,
pub model_name: String,
pub model_id: String,
pub available_hotkeys: Vec<Hotkey>,
}
Expand description
Model info and list of hotkeys.
This is the return value of HotkeysInCurrentModelRequest
.
Fields
model_loaded: bool
Whether the model is loaded.
model_name: String
The name of the model.
model_id: String
The ID of the model.
available_hotkeys: Vec<Hotkey>
List of available hotkeys.
Trait Implementations
sourceimpl Clone for HotkeysInCurrentModelResponse
impl Clone for HotkeysInCurrentModelResponse
sourcefn clone(&self) -> HotkeysInCurrentModelResponse
fn clone(&self) -> HotkeysInCurrentModelResponse
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 HotkeysInCurrentModelResponse
impl Debug for HotkeysInCurrentModelResponse
sourceimpl Default for HotkeysInCurrentModelResponse
impl Default for HotkeysInCurrentModelResponse
sourcefn default() -> HotkeysInCurrentModelResponse
fn default() -> HotkeysInCurrentModelResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HotkeysInCurrentModelResponse
impl<'de> Deserialize<'de> for HotkeysInCurrentModelResponse
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<HotkeysInCurrentModelResponse> for HotkeysInCurrentModelResponse
impl PartialEq<HotkeysInCurrentModelResponse> for HotkeysInCurrentModelResponse
sourcefn eq(&self, other: &HotkeysInCurrentModelResponse) -> bool
fn eq(&self, other: &HotkeysInCurrentModelResponse) -> bool
impl StructuralPartialEq for HotkeysInCurrentModelResponse
Auto Trait Implementations
impl RefUnwindSafe for HotkeysInCurrentModelResponse
impl Send for HotkeysInCurrentModelResponse
impl Sync for HotkeysInCurrentModelResponse
impl Unpin for HotkeysInCurrentModelResponse
impl UnwindSafe for HotkeysInCurrentModelResponse
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