Struct vtubestudio::data::HotkeysInCurrentModelRequest
source · [−]pub struct HotkeysInCurrentModelRequest {
pub model_id: Option<String>,
pub live2d_item_file_name: Option<String>,
}
Expand description
Requesting list of hotkeys available in current or other VTS model.
If model_id
is absent, hotkeys for the current model are returned.
If both model_id
and live2d_item_file_name
are provided, only model_id
is used
and the other field will be ignored.
This request returns HotkeysInCurrentModelResponse
.
Fields
model_id: Option<String>
The ID of the model.
live2d_item_file_name: Option<String>
Set this field to request hotkeys for a Live2D item.
Trait Implementations
sourceimpl Clone for HotkeysInCurrentModelRequest
impl Clone for HotkeysInCurrentModelRequest
sourcefn clone(&self) -> HotkeysInCurrentModelRequest
fn clone(&self) -> HotkeysInCurrentModelRequest
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 HotkeysInCurrentModelRequest
impl Debug for HotkeysInCurrentModelRequest
sourceimpl Default for HotkeysInCurrentModelRequest
impl Default for HotkeysInCurrentModelRequest
sourcefn default() -> HotkeysInCurrentModelRequest
fn default() -> HotkeysInCurrentModelRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HotkeysInCurrentModelRequest
impl<'de> Deserialize<'de> for HotkeysInCurrentModelRequest
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<HotkeysInCurrentModelRequest> for HotkeysInCurrentModelRequest
impl PartialEq<HotkeysInCurrentModelRequest> for HotkeysInCurrentModelRequest
sourcefn eq(&self, other: &HotkeysInCurrentModelRequest) -> bool
fn eq(&self, other: &HotkeysInCurrentModelRequest) -> bool
sourceimpl Request for HotkeysInCurrentModelRequest
impl Request for HotkeysInCurrentModelRequest
type Response = HotkeysInCurrentModelResponse
type Response = HotkeysInCurrentModelResponse
The expected
Response
type for this request.impl StructuralPartialEq for HotkeysInCurrentModelRequest
Auto Trait Implementations
impl RefUnwindSafe for HotkeysInCurrentModelRequest
impl Send for HotkeysInCurrentModelRequest
impl Sync for HotkeysInCurrentModelRequest
impl Unpin for HotkeysInCurrentModelRequest
impl UnwindSafe for HotkeysInCurrentModelRequest
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