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