pub struct AuthAcceptSpec {
pub player_pos: v3f,
pub map_seed: u64,
pub recommended_send_interval: f32,
pub sudo_auth_methods: u32,
}
Fields§
§player_pos: v3f
§map_seed: u64
§recommended_send_interval: f32
§sudo_auth_methods: u32
Trait Implementations§
Source§impl Clone for AuthAcceptSpec
impl Clone for AuthAcceptSpec
Source§fn clone(&self) -> AuthAcceptSpec
fn clone(&self) -> AuthAcceptSpec
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthAcceptSpec
impl Debug for AuthAcceptSpec
Source§impl Deserialize for AuthAcceptSpec
impl Deserialize for AuthAcceptSpec
Source§type Output = AuthAcceptSpec
type Output = AuthAcceptSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<AuthAcceptSpec> for ToClientCommand
impl From<AuthAcceptSpec> for ToClientCommand
Source§fn from(value: AuthAcceptSpec) -> Self
fn from(value: AuthAcceptSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AuthAcceptSpec
impl PartialEq for AuthAcceptSpec
Source§impl Serialize for AuthAcceptSpec
impl Serialize for AuthAcceptSpec
type Input = AuthAcceptSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for AuthAcceptSpec
Auto Trait Implementations§
impl Freeze for AuthAcceptSpec
impl RefUnwindSafe for AuthAcceptSpec
impl Send for AuthAcceptSpec
impl Sync for AuthAcceptSpec
impl Unpin for AuthAcceptSpec
impl UnwindSafe for AuthAcceptSpec
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