Struct polywrap_plugin::InterfaceDefinition
source · pub struct InterfaceDefinition {
pub capabilities: Option<Box<CapabilityDefinition>>,
pub kind: f64,
pub name: Option<String>,
pub namespace: String,
pub native_type: String,
pub required: Option<bool>,
pub type_: String,
pub uri: String,
}Fields§
§capabilities: Option<Box<CapabilityDefinition>>§kind: f64§name: Option<String>§namespace: String§native_type: String§required: Option<bool>§type_: String§uri: StringTrait Implementations§
source§impl Clone for InterfaceDefinition
impl Clone for InterfaceDefinition
source§fn clone(&self) -> InterfaceDefinition
fn clone(&self) -> InterfaceDefinition
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 InterfaceDefinition
impl Debug for InterfaceDefinition
source§impl<'de> Deserialize<'de> for InterfaceDefinition
impl<'de> Deserialize<'de> for InterfaceDefinition
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<InterfaceDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<InterfaceDefinition, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for InterfaceDefinition
impl PartialEq for InterfaceDefinition
source§fn eq(&self, other: &InterfaceDefinition) -> bool
fn eq(&self, other: &InterfaceDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for InterfaceDefinition
impl Serialize for InterfaceDefinition
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 InterfaceDefinition
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceDefinition
impl Send for InterfaceDefinition
impl Sync for InterfaceDefinition
impl Unpin for InterfaceDefinition
impl UnwindSafe for InterfaceDefinition
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