pub struct MethodInfo<F: Form = MetaForm> {
pub name: String,
pub input: Vec<TypeInfo<F>>,
pub output: Vec<TypeInfo<F>>,
pub parallel_level: i32,
pub mutex_fields: Vec<MutexField>,
pub mutex_calls: Vec<MutexCall>,
pub method_calls: Vec<String>,
}Fields§
§name: String§input: Vec<TypeInfo<F>>§output: Vec<TypeInfo<F>>§parallel_level: i32§mutex_fields: Vec<MutexField>§mutex_calls: Vec<MutexCall>§method_calls: Vec<String>Trait Implementations§
Source§impl<'de, F: Form> Deserialize<'de> for MethodInfo<F>
impl<'de, F: Form> Deserialize<'de> for MethodInfo<F>
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
Source§impl IntoPortable for MethodInfo
impl IntoPortable for MethodInfo
Source§type Output = MethodInfo<PortableForm>
type Output = MethodInfo<PortableForm>
The portable version of
Self.Source§fn into_portable(self, registry: &mut Registry) -> Self::Output
fn into_portable(self, registry: &mut Registry) -> Self::Output
Convert
self to the portable form by using the registry for caching.Auto Trait Implementations§
impl<F> Freeze for MethodInfo<F>
impl<F> RefUnwindSafe for MethodInfo<F>
impl<F> Send for MethodInfo<F>
impl<F> Sync for MethodInfo<F>
impl<F> Unpin for MethodInfo<F>
impl<F> UnwindSafe for MethodInfo<F>
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