pub enum OpenApiType {
Null,
Boolean,
Integer,
Number,
String,
Array,
Object,
}Expand description
OpenAPI primitive types
Variants§
Implementations§
Source§impl OpenApiType
impl OpenApiType
Sourcepub fn from_str(s: &str) -> Result<Self, ComposioError>
pub fn from_str(s: &str) -> Result<Self, ComposioError>
Parse OpenAPI type from string
Sourcepub fn to_rust_type(&self) -> &'static str
pub fn to_rust_type(&self) -> &'static str
Get Rust type name as string
Trait Implementations§
Source§impl Clone for OpenApiType
impl Clone for OpenApiType
Source§fn clone(&self) -> OpenApiType
fn clone(&self) -> OpenApiType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenApiType
impl Debug for OpenApiType
Source§impl PartialEq for OpenApiType
impl PartialEq for OpenApiType
impl Eq for OpenApiType
impl StructuralPartialEq for OpenApiType
Auto Trait Implementations§
impl Freeze for OpenApiType
impl RefUnwindSafe for OpenApiType
impl Send for OpenApiType
impl Sync for OpenApiType
impl Unpin for OpenApiType
impl UnsafeUnpin for OpenApiType
impl UnwindSafe for OpenApiType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.