pub struct Crawl {
pub id: Uuid,
pub address: String,
pub port: u16,
pub ping: u32,
pub version: String,
pub protocol_version: i32,
pub max_players: u32,
pub online_players: u32,
pub description: Option<String>,
pub favicon: Option<String>,
pub crawled_at: DateTime<FixedOffset>,
}Expand description
Crawl : Represents a Minecraft server crawl.
Fields§
§id: UuidThe unique identifier of the crawl.
address: StringThe hostname or IP address of the crawled Minecraft server.
port: u16The port of the crawled Minecraft server.
ping: u32The server ping in milliseconds.
version: StringThe Minecraft version name reported by the server.
protocol_version: i32The Minecraft protocol version reported by the server.
max_players: u32The maximum number of players reported by the server.
online_players: u32The number of players currently connected to the server.
description: Option<String>The server description reported by the server.
favicon: Option<String>The server favicon as a Base64-encoded PNG data URL, or null if no favicon was provided.
crawled_at: DateTime<FixedOffset>The date and time at which the server was crawled.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Crawl
impl<'de> Deserialize<'de> for Crawl
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
impl StructuralPartialEq for Crawl
Auto Trait Implementations§
impl Freeze for Crawl
impl RefUnwindSafe for Crawl
impl Send for Crawl
impl Sync for Crawl
impl Unpin for Crawl
impl UnsafeUnpin for Crawl
impl UnwindSafe for Crawl
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