pub struct InputPortSpec {
pub name: String,
pub accepted_representations: Vec<RepresentationId>,
pub accepted_types: Vec<TypeId>,
pub rank: Option<usize>,
pub multi_source: bool,
pub optional: bool,
}Fields§
§name: String§accepted_representations: Vec<RepresentationId>§accepted_types: Vec<TypeId>§rank: Option<usize>§multi_source: bool§optional: boolImplementations§
Trait Implementations§
Source§impl Clone for InputPortSpec
impl Clone for InputPortSpec
Source§impl Debug for InputPortSpec
impl Debug for InputPortSpec
Source§impl<'de> Deserialize<'de> for InputPortSpec
impl<'de> Deserialize<'de> for InputPortSpec
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 InputPortSpec
Source§impl PartialEq for InputPortSpec
impl PartialEq for InputPortSpec
Source§impl Serialize for InputPortSpec
impl Serialize for InputPortSpec
impl StructuralPartialEq for InputPortSpec
Auto Trait Implementations§
impl Freeze for InputPortSpec
impl RefUnwindSafe for InputPortSpec
impl Send for InputPortSpec
impl Sync for InputPortSpec
impl Unpin for InputPortSpec
impl UnsafeUnpin for InputPortSpec
impl UnwindSafe for InputPortSpec
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