pub struct OpenTTDInfo {
pub openttd_version: String,
}Expand description
Pointers supplied by OpenTTD, for the plugin to use.
Package to raw_api::OpenTTD_SocialIntegration_v1_OpenTTDInfo
Fields§
§openttd_version: StringVersion of OpenTTD
Trait Implementations§
source§impl From<OpenTTD_SocialIntegration_v1_OpenTTDInfo> for OpenTTDInfo
impl From<OpenTTD_SocialIntegration_v1_OpenTTDInfo> for OpenTTDInfo
source§fn from(value: OpenTTD_SocialIntegration_v1_OpenTTDInfo) -> Self
fn from(value: OpenTTD_SocialIntegration_v1_OpenTTDInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OpenTTDInfo
impl Send for OpenTTDInfo
impl Sync for OpenTTDInfo
impl Unpin for OpenTTDInfo
impl UnwindSafe for OpenTTDInfo
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