Struct polywrap_plugin::MethodDefinition
source · pub struct MethodDefinition {
pub arguments: Option<Vec<Box<PropertyDefinition>>>,
pub comment: Option<String>,
pub env: Option<MethodDefinitionEnv>,
pub kind: f64,
pub name: Option<String>,
pub required: Option<bool>,
pub return_: Option<Box<PropertyDefinition>>,
pub type_: String,
}Fields§
§arguments: Option<Vec<Box<PropertyDefinition>>>§comment: Option<String>§env: Option<MethodDefinitionEnv>§kind: f64§name: Option<String>§required: Option<bool>§return_: Option<Box<PropertyDefinition>>§type_: StringTrait Implementations§
source§impl Clone for MethodDefinition
impl Clone for MethodDefinition
source§fn clone(&self) -> MethodDefinition
fn clone(&self) -> MethodDefinition
Returns a copy 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 MethodDefinition
impl Debug for MethodDefinition
source§impl<'de> Deserialize<'de> for MethodDefinition
impl<'de> Deserialize<'de> for MethodDefinition
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MethodDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<MethodDefinition, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MethodDefinition
impl PartialEq for MethodDefinition
source§fn eq(&self, other: &MethodDefinition) -> bool
fn eq(&self, other: &MethodDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MethodDefinition
impl Serialize for MethodDefinition
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MethodDefinition
Auto Trait Implementations§
impl RefUnwindSafe for MethodDefinition
impl Send for MethodDefinition
impl Sync for MethodDefinition
impl Unpin for MethodDefinition
impl UnwindSafe for MethodDefinition
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