Struct static_link_module::StaticLinkArgs
source · pub struct StaticLinkArgs {
pub(crate) output: Vec<Constraint>,
pub(crate) input: Vec<Constraint>,
pub(crate) port_mappings: Vec<PortMapping>,
pub(crate) passive: bool,
pub(crate) linger: bool,
}
Expand description
User configuration for the StaticLink plugin
Fields§
§output: Vec<Constraint>
The source node to link to input
input: Vec<Constraint>
The sink node to link to output
port_mappings: Vec<PortMapping>
Describes how to link the ports of the input
node to the output
passive: bool
Whether to mark any created links as link.passive
Defaults to true
linger: bool
Whether to mark any created links as object.linger
A lingering link will remain in place even after this module’s parent process has exited.
Defaults to true
Trait Implementations§
source§impl Clone for StaticLinkArgs
impl Clone for StaticLinkArgs
source§fn clone(&self) -> StaticLinkArgs
fn clone(&self) -> StaticLinkArgs
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 StaticLinkArgs
impl Debug for StaticLinkArgs
source§impl Default for StaticLinkArgs
impl Default for StaticLinkArgs
source§impl<'de> Deserialize<'de> for StaticLinkArgs
impl<'de> Deserialize<'de> for StaticLinkArgs
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
Auto Trait Implementations§
impl Freeze for StaticLinkArgs
impl RefUnwindSafe for StaticLinkArgs
impl Send for StaticLinkArgs
impl Sync for StaticLinkArgs
impl Unpin for StaticLinkArgs
impl UnwindSafe for StaticLinkArgs
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