pub struct AuthAckPayload {
pub status: String,
pub message: String,
pub minecraft_uuid: Option<String>,
pub username: Option<String>,
}
Expand description
The payload for an authentication acknowledgment message.
Fields§
§status: String
The status of the authentication (either “success” or “failure”).
message: String
A message describing the authentication status.
minecraft_uuid: Option<String>
The client’s Minecraft UUID, if available.
username: Option<String>
The client’s Minecraft username, if available.
Trait Implementations§
Source§impl Debug for AuthAckPayload
impl Debug for AuthAckPayload
Source§impl<'de> Deserialize<'de> for AuthAckPayload
impl<'de> Deserialize<'de> for AuthAckPayload
Source§fn 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
Auto Trait Implementations§
impl Freeze for AuthAckPayload
impl RefUnwindSafe for AuthAckPayload
impl Send for AuthAckPayload
impl Sync for AuthAckPayload
impl Unpin for AuthAckPayload
impl UnwindSafe for AuthAckPayload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more