pub enum SdkClientStyle {
Flat,
Namespaced,
}Expand description
Public instantiated-client layout. TypeScript retains direct function exports in both modes; native language plugins use the same choice to emit either their flat idiomatic client or a resource-namespaced facade.
Variants§
Flat
client.createMessage(...) (or its native-language equivalent).
Namespaced
client.messages.create(...) (or its native-language equivalent),
using OpenAPI tags first and stable path-derived namespaces when a spec
has no tags.
Trait Implementations§
Source§impl Clone for SdkClientStyle
impl Clone for SdkClientStyle
impl Copy for SdkClientStyle
Source§impl Debug for SdkClientStyle
impl Debug for SdkClientStyle
Source§impl Default for SdkClientStyle
impl Default for SdkClientStyle
Source§impl<'de> Deserialize<'de> for SdkClientStyle
impl<'de> Deserialize<'de> for SdkClientStyle
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 SdkClientStyle
Source§impl PartialEq for SdkClientStyle
impl PartialEq for SdkClientStyle
Source§impl Serialize for SdkClientStyle
impl Serialize for SdkClientStyle
impl StructuralPartialEq for SdkClientStyle
Auto Trait Implementations§
impl Freeze for SdkClientStyle
impl RefUnwindSafe for SdkClientStyle
impl Send for SdkClientStyle
impl Sync for SdkClientStyle
impl Unpin for SdkClientStyle
impl UnsafeUnpin for SdkClientStyle
impl UnwindSafe for SdkClientStyle
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