#[repr(C)]pub struct BanEntry {
pub address: HybridString<46>,
pub time: WorldTimePoint,
pub name: HybridString<25>,
pub reason: HybridString<32>,
}Expand description
BanEntry in network.hpp.
The C++ side copies it with a constructor, so it travels by
reference only: build one here and pass &, or read the server’s.
Fields§
§address: HybridString<46>address.
time: WorldTimePointtime.
name: HybridString<25>name.
reason: HybridString<32>reason.
Auto Trait Implementations§
impl !Send for BanEntry
impl !Sync for BanEntry
impl Freeze for BanEntry
impl RefUnwindSafe for BanEntry
impl Unpin for BanEntry
impl UnsafeUnpin for BanEntry
impl UnwindSafe for BanEntry
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