Struct fast_protocol::datatypes::packets::SessionResponse
source · pub struct SessionResponse {
pub id: String,
pub name: String,
pub properties: Vec<SessionResponsePiece>,
}Expand description
Data struct holding the whole data response of the authetication service
Fields§
§id: Stringprofile id
name: Stringusername of the player
properties: Vec<SessionResponsePiece>important properties send by the authetication service
Trait Implementations§
source§impl<'de> Deserialize<'de> for SessionResponse
impl<'de> Deserialize<'de> for SessionResponse
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 SessionResponse
impl RefUnwindSafe for SessionResponse
impl Send for SessionResponse
impl Sync for SessionResponse
impl Unpin for SessionResponse
impl UnwindSafe for SessionResponse
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