pub struct SdkGenerator { /* private fields */ }
Expand description
Multi-language SDK generator
Implementations§
Source§impl SdkGenerator
impl SdkGenerator
Sourcepub fn new(config: SdkGenerationConfig) -> Self
pub fn new(config: SdkGenerationConfig) -> Self
Create new SDK generator
Sourcepub fn generate_all(&self) -> Result<SdkGenerationResult, Box<dyn Error>>
pub fn generate_all(&self) -> Result<SdkGenerationResult, Box<dyn Error>>
Generate SDKs for all configured languages
Sourcepub fn generate_for_language(
&self,
language: SdkLanguage,
) -> Result<HashMap<String, String>, Box<dyn Error>>
pub fn generate_for_language( &self, language: SdkLanguage, ) -> Result<HashMap<String, String>, Box<dyn Error>>
Generate SDK for specific language
Sourcepub fn supported_languages() -> Vec<SdkLanguage>
pub fn supported_languages() -> Vec<SdkLanguage>
Get supported languages
Auto Trait Implementations§
impl Freeze for SdkGenerator
impl RefUnwindSafe for SdkGenerator
impl Send for SdkGenerator
impl Sync for SdkGenerator
impl Unpin for SdkGenerator
impl UnwindSafe for SdkGenerator
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more