Struct vtubestudio::data::ModelLoadedEventConfig
source · [−]Expand description
Config for ModelLoadedEvent
.
Used in EventSubscriptionRequest
.
You can pass in one or more model IDs in the modelID
array (optional). If you do,
an event will only be sent every time the model with one of the specific IDs is
loaded or unloaded. If you pass in model IDs, they all have to have the correct
format (32 characters, only hex characters), otherwise an error is returned.
Fields
model_id: Vec<String>
Optional model IDs to filter for.
Trait Implementations
sourceimpl Clone for ModelLoadedEventConfig
impl Clone for ModelLoadedEventConfig
sourcefn clone(&self) -> ModelLoadedEventConfig
fn clone(&self) -> ModelLoadedEventConfig
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 ModelLoadedEventConfig
impl Debug for ModelLoadedEventConfig
sourceimpl Default for ModelLoadedEventConfig
impl Default for ModelLoadedEventConfig
sourcefn default() -> ModelLoadedEventConfig
fn default() -> ModelLoadedEventConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ModelLoadedEventConfig
impl<'de> Deserialize<'de> for ModelLoadedEventConfig
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 EventConfig for ModelLoadedEventConfig
impl EventConfig for ModelLoadedEventConfig
type Event = ModelLoadedEvent
type Event = ModelLoadedEvent
The corresponding event for this config.
sourceimpl PartialEq<ModelLoadedEventConfig> for ModelLoadedEventConfig
impl PartialEq<ModelLoadedEventConfig> for ModelLoadedEventConfig
sourcefn eq(&self, other: &ModelLoadedEventConfig) -> bool
fn eq(&self, other: &ModelLoadedEventConfig) -> bool
sourceimpl Serialize for ModelLoadedEventConfig
impl Serialize for ModelLoadedEventConfig
impl StructuralPartialEq for ModelLoadedEventConfig
Auto Trait Implementations
impl RefUnwindSafe for ModelLoadedEventConfig
impl Send for ModelLoadedEventConfig
impl Sync for ModelLoadedEventConfig
impl Unpin for ModelLoadedEventConfig
impl UnwindSafe for ModelLoadedEventConfig
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