pub struct StatusSpec {
pub version: Option<StatusVersionSpec>,
pub players: StatusPlayersSpec,
pub description: Chat,
pub favicon: Option<StatusFaviconSpec>,
}
Fields§
§version: Option<StatusVersionSpec>
§players: StatusPlayersSpec
§description: Chat
§favicon: Option<StatusFaviconSpec>
Trait Implementations§
Source§impl Clone for StatusSpec
impl Clone for StatusSpec
Source§fn clone(&self) -> StatusSpec
fn clone(&self) -> StatusSpec
Returns a duplicate 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 StatusSpec
impl Debug for StatusSpec
Source§impl<'de> Deserialize<'de> for StatusSpec
impl<'de> Deserialize<'de> for StatusSpec
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
Source§impl Deserialize for StatusSpec
impl Deserialize for StatusSpec
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<StatusResponseSpec> for StatusSpec
impl From<StatusResponseSpec> for StatusSpec
Source§fn from(other: StatusResponseSpec) -> Self
fn from(other: StatusResponseSpec) -> Self
Converts to this type from the input type.
Source§impl From<StatusResponseSpec> for StatusSpec
impl From<StatusResponseSpec> for StatusSpec
Source§fn from(other: StatusResponseSpec) -> Self
fn from(other: StatusResponseSpec) -> Self
Converts to this type from the input type.
Source§impl From<StatusSpec> for StatusResponseSpec
impl From<StatusSpec> for StatusResponseSpec
Source§fn from(other: StatusSpec) -> Self
fn from(other: StatusSpec) -> Self
Converts to this type from the input type.
Source§impl From<StatusSpec> for StatusResponseSpec
impl From<StatusSpec> for StatusResponseSpec
Source§fn from(other: StatusSpec) -> Self
fn from(other: StatusSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StatusSpec
impl PartialEq for StatusSpec
Source§impl Serialize for StatusSpec
impl Serialize for StatusSpec
Source§impl Serialize for StatusSpec
impl Serialize for StatusSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for StatusSpec
Auto Trait Implementations§
impl Freeze for StatusSpec
impl RefUnwindSafe for StatusSpec
impl Send for StatusSpec
impl Sync for StatusSpec
impl Unpin for StatusSpec
impl UnwindSafe for StatusSpec
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