Struct vtubestudio::data::AuthenticationTokenRequest
source · [−]pub struct AuthenticationTokenRequest {
pub plugin_name: Cow<'static, str>,
pub plugin_developer: Cow<'static, str>,
pub plugin_icon: Option<Cow<'static, str>>,
}
Expand description
Request an authentication token.
This request returns AuthenticationTokenResponse
.
Fields
plugin_name: Cow<'static, str>
The name of the plugin.
plugin_developer: Cow<'static, str>
The developer of the plugin.
plugin_icon: Option<Cow<'static, str>>
A Base64 encoded image representing the plugin icon.
Trait Implementations
sourceimpl Clone for AuthenticationTokenRequest
impl Clone for AuthenticationTokenRequest
sourcefn clone(&self) -> AuthenticationTokenRequest
fn clone(&self) -> AuthenticationTokenRequest
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 AuthenticationTokenRequest
impl Debug for AuthenticationTokenRequest
sourceimpl Default for AuthenticationTokenRequest
impl Default for AuthenticationTokenRequest
sourcefn default() -> AuthenticationTokenRequest
fn default() -> AuthenticationTokenRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AuthenticationTokenRequest
impl<'de> Deserialize<'de> for AuthenticationTokenRequest
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<AuthenticationTokenRequest> for AuthenticationTokenRequest
impl PartialEq<AuthenticationTokenRequest> for AuthenticationTokenRequest
sourcefn eq(&self, other: &AuthenticationTokenRequest) -> bool
fn eq(&self, other: &AuthenticationTokenRequest) -> bool
sourceimpl Request for AuthenticationTokenRequest
impl Request for AuthenticationTokenRequest
type Response = AuthenticationTokenResponse
type Response = AuthenticationTokenResponse
The expected
Response
type for this request.impl StructuralPartialEq for AuthenticationTokenRequest
Auto Trait Implementations
impl RefUnwindSafe for AuthenticationTokenRequest
impl Send for AuthenticationTokenRequest
impl Sync for AuthenticationTokenRequest
impl Unpin for AuthenticationTokenRequest
impl UnwindSafe for AuthenticationTokenRequest
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