pub enum PythonAsyncFunctionDefPlaceholder {
Name,
Arguments,
Body,
DecoratorList,
Returns,
TypeComment,
TypeParams,
}Variants§
Name
The name of the function
Arguments
The arguments of the function
Body
The body of the function
DecoratorList
The list of decorators to be applied, stored outermost first (i.e. the first in the list will be applied last).
Returns
The return annotation
TypeComment
an optional string with the type annotation as a comment
TypeParams
A list of type parameters
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PythonAsyncFunctionDefPlaceholder
impl<'de> Deserialize<'de> for PythonAsyncFunctionDefPlaceholder
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 PythonAsyncFunctionDefPlaceholder
Source§impl<'_derivative_strum> From<&'_derivative_strum PythonAsyncFunctionDefPlaceholder> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum PythonAsyncFunctionDefPlaceholder> for &'static str
Source§fn from(
x: &'_derivative_strum PythonAsyncFunctionDefPlaceholder,
) -> &'static str
fn from( x: &'_derivative_strum PythonAsyncFunctionDefPlaceholder, ) -> &'static str
Converts to this type from the input type.
Source§impl From<PythonAsyncFunctionDefPlaceholder> for &'static str
impl From<PythonAsyncFunctionDefPlaceholder> for &'static str
Source§fn from(x: PythonAsyncFunctionDefPlaceholder) -> &'static str
fn from(x: PythonAsyncFunctionDefPlaceholder) -> &'static str
Converts to this type from the input type.
impl StructuralPartialEq for PythonAsyncFunctionDefPlaceholder
Auto Trait Implementations§
impl Freeze for PythonAsyncFunctionDefPlaceholder
impl RefUnwindSafe for PythonAsyncFunctionDefPlaceholder
impl Send for PythonAsyncFunctionDefPlaceholder
impl Sync for PythonAsyncFunctionDefPlaceholder
impl Unpin for PythonAsyncFunctionDefPlaceholder
impl UnsafeUnpin for PythonAsyncFunctionDefPlaceholder
impl UnwindSafe for PythonAsyncFunctionDefPlaceholder
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FromFormData for Twhere
T: DeserializeOwned,
impl<T> FromFormData for Twhere
T: DeserializeOwned,
Source§fn from_event(ev: &Event) -> Result<T, FromFormDataError>
fn from_event(ev: &Event) -> Result<T, FromFormDataError>
Tries to deserialize the data, given only the
submit event.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 moreSource§impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
fn overflowing_into(self) -> (U, bool)
Source§impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
fn rounding_into(self, rm: RoundingMode) -> (U, Ordering)
Source§impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
fn saturating_into(self) -> U
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.