pub struct Console {
pub origin: String,
pub text: String,
}
Expand description
Send what would be printed on the server’s console also into the admin network.
Fields§
§origin: String
The origin of the text, e.g. “console” for console, or “net” for network related (debug) messages.
text: String
Text as found on the console of the server.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Console
impl<'de> Deserialize<'de> for Console
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 Console
impl StructuralPartialEq for Console
Auto Trait Implementations§
impl Freeze for Console
impl RefUnwindSafe for Console
impl Send for Console
impl Sync for Console
impl Unpin for Console
impl UnwindSafe for Console
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