pub struct Rcon {
pub color: u16,
pub output: String,
}
Expand description
Result of an rcon command.
Fields§
§color: u16
Colour as it would be used on the server or a client.
output: String
Output of the executed command.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rcon
impl<'de> Deserialize<'de> for Rcon
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 Eq for Rcon
impl StructuralPartialEq for Rcon
Auto Trait Implementations§
impl Freeze for Rcon
impl RefUnwindSafe for Rcon
impl Send for Rcon
impl Sync for Rcon
impl Unpin for Rcon
impl UnwindSafe for Rcon
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