Struct aws_sdk_gamesparks::model::Generator
source · [−]#[non_exhaustive]pub struct Generator {
pub target_platform: Option<String>,
pub language: Option<String>,
pub game_sdk_version: Option<String>,
}
Expand description
Properties that specify the code generator for a generated code job.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.target_platform: Option<String>
The platform that will be used to run the generated code.
language: Option<String>
The programming language for the generated code.
Not all languages are supported for each platform. For cases where multiple languages are supported, this parameter specifies the language to be used. If this value is omitted, the default language for the target platform will be used.
game_sdk_version: Option<String>
The target version of the GameSparks Game SDK.
Implementations
sourceimpl Generator
impl Generator
sourcepub fn target_platform(&self) -> Option<&str>
pub fn target_platform(&self) -> Option<&str>
The platform that will be used to run the generated code.
sourcepub fn language(&self) -> Option<&str>
pub fn language(&self) -> Option<&str>
The programming language for the generated code.
Not all languages are supported for each platform. For cases where multiple languages are supported, this parameter specifies the language to be used. If this value is omitted, the default language for the target platform will be used.
sourcepub fn game_sdk_version(&self) -> Option<&str>
pub fn game_sdk_version(&self) -> Option<&str>
The target version of the GameSparks Game SDK.
Trait Implementations
impl StructuralPartialEq for Generator
Auto Trait Implementations
impl RefUnwindSafe for Generator
impl Send for Generator
impl Sync for Generator
impl Unpin for Generator
impl UnwindSafe for Generator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more