Struct vtubestudio::data::HotkeyTriggerRequest
source · [−]Expand description
Requesting execution of hotkeys.
This request returns HotkeyTriggerResponse
.
Fields
hotkey_id: String
The ID of the hotkey.
item_instance_id: Option<String>
If present, trigger the hotkey for the given Live2D item. If absent, the hotkey will be triggered for the currently loaded model.
Trait Implementations
sourceimpl Clone for HotkeyTriggerRequest
impl Clone for HotkeyTriggerRequest
sourcefn clone(&self) -> HotkeyTriggerRequest
fn clone(&self) -> HotkeyTriggerRequest
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 HotkeyTriggerRequest
impl Debug for HotkeyTriggerRequest
sourceimpl Default for HotkeyTriggerRequest
impl Default for HotkeyTriggerRequest
sourcefn default() -> HotkeyTriggerRequest
fn default() -> HotkeyTriggerRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HotkeyTriggerRequest
impl<'de> Deserialize<'de> for HotkeyTriggerRequest
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<HotkeyTriggerRequest> for HotkeyTriggerRequest
impl PartialEq<HotkeyTriggerRequest> for HotkeyTriggerRequest
sourcefn eq(&self, other: &HotkeyTriggerRequest) -> bool
fn eq(&self, other: &HotkeyTriggerRequest) -> bool
sourceimpl Request for HotkeyTriggerRequest
impl Request for HotkeyTriggerRequest
type Response = HotkeyTriggerResponse
type Response = HotkeyTriggerResponse
The expected
Response
type for this request.sourceimpl Serialize for HotkeyTriggerRequest
impl Serialize for HotkeyTriggerRequest
impl StructuralPartialEq for HotkeyTriggerRequest
Auto Trait Implementations
impl RefUnwindSafe for HotkeyTriggerRequest
impl Send for HotkeyTriggerRequest
impl Sync for HotkeyTriggerRequest
impl Unpin for HotkeyTriggerRequest
impl UnwindSafe for HotkeyTriggerRequest
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