pub struct PortEntry {
pub kind: String,
pub options: Options,
}Expand description
One port entry of a deployment: the adapter kind and its options.
Fields§
§kind: StringThe adapter that implements the port, as written in type = "…".
options: OptionsEverything else under the table, uninterpreted here.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PortEntry
impl<'de> Deserialize<'de> for PortEntry
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
Source§impl JsonSchema for PortEntry
The uninterpreted shape: a type plus any table. The composition root
replaces this with one alternative per registered adapter when it assembles
the editor schema.
impl JsonSchema for PortEntry
The uninterpreted shape: a type plus any table. The composition root
replaces this with one alternative per registered adapter when it assembles
the editor schema.
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for PortEntry
Auto Trait Implementations§
impl Forget for PortEntry
impl Freeze for PortEntry
impl Move for PortEntry
impl RefUnwindSafe for PortEntry
impl Send for PortEntry
impl Sync for PortEntry
impl Unpin for PortEntry
impl UnsafeUnpin for PortEntry
impl UnwindSafe for PortEntry
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