pub struct CmdNames {
pub names: Vec<CmdName>,
}
Expand description
Send DoCommand names to the bot upon request only. Multiple of these packets can follow each other in order to provide all known DoCommand names.
NOTICE: Data provided with this packet is not stable and will not be treated as such. Do not rely on IDs or names to be constant across different versions / revisions of OpenTTD. Data provided in this packet is for logging purposes only.
Fields§
§names: Vec<CmdName>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CmdNames
impl<'de> Deserialize<'de> for CmdNames
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 CmdNames
impl StructuralPartialEq for CmdNames
Auto Trait Implementations§
impl Freeze for CmdNames
impl RefUnwindSafe for CmdNames
impl Send for CmdNames
impl Sync for CmdNames
impl Unpin for CmdNames
impl UnwindSafe for CmdNames
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