pub struct PortKey(pub String);Expand description
Stable identifier for a schema-declared port.
PortKey must remain stable across versions of a node kind.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PortKey
impl<'de> Deserialize<'de> for PortKey
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 PortKey
Source§impl Ord for PortKey
impl Ord for PortKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PortKey
impl PartialOrd for PortKey
impl StructuralPartialEq for PortKey
Auto Trait Implementations§
impl Freeze for PortKey
impl RefUnwindSafe for PortKey
impl Send for PortKey
impl Sync for PortKey
impl Unpin for PortKey
impl UnsafeUnpin for PortKey
impl UnwindSafe for PortKey
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