pub struct PortRefDef {
pub knot: String,
pub port: String,
}Expand description
Serializable author reference to a named knot port.
Fields§
§knot: StringAuthor knot id (must exist in the same weave or pattern inner graph).
port: StringCatalog port name on that knot (for example "out", "in_0").
Implementations§
Trait Implementations§
Source§impl Clone for PortRefDef
impl Clone for PortRefDef
Source§fn clone(&self) -> PortRefDef
fn clone(&self) -> PortRefDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PortRefDef
impl Debug for PortRefDef
Source§impl<'de> Deserialize<'de> for PortRefDef
impl<'de> Deserialize<'de> for PortRefDef
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 PortRefDef
Source§impl JsonSchema for PortRefDef
impl JsonSchema for PortRefDef
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PortRefDef
impl PartialEq for PortRefDef
Source§impl Serialize for PortRefDef
impl Serialize for PortRefDef
impl StructuralPartialEq for PortRefDef
Auto Trait Implementations§
impl Freeze for PortRefDef
impl RefUnwindSafe for PortRefDef
impl Send for PortRefDef
impl Sync for PortRefDef
impl Unpin for PortRefDef
impl UnsafeUnpin for PortRefDef
impl UnwindSafe for PortRefDef
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