#[non_exhaustive]pub struct OperatorConfig {Show 16 fields
pub name: Option<String>,
pub description: Option<String>,
pub inputs: BTreeMap<DataId, Input>,
pub outputs: BTreeSet<DataId>,
pub output_types: BTreeMap<DataId, String>,
pub output_framing: BTreeMap<DataId, OutputFraming>,
pub input_types: BTreeMap<DataId, String>,
pub output_metadata: BTreeMap<DataId, Vec<String>>,
pub pattern: Option<String>,
pub source: OperatorSource,
pub build: Option<String>,
pub send_stdout_as: Option<String>,
pub send_logs_as: Option<String>,
pub min_log_level: Option<String>,
pub max_log_size: Option<String>,
pub max_rotated_files: Option<u32>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Human-readable operator name
description: Option<String>Detailed description of the operator
inputs: BTreeMap<DataId, Input>Input data connections
outputs: BTreeSet<DataId>Output data identifiers
output_types: BTreeMap<DataId, String>Optional type annotations for outputs
output_framing: BTreeMap<DataId, OutputFraming>Per-output framing overrides. Ignored: every output is encoded as
Arrow IPC (see OutputFraming).
input_types: BTreeMap<DataId, String>Optional type annotations for inputs
output_metadata: BTreeMap<DataId, Vec<String>>Required metadata keys per output
pattern: Option<String>Communication pattern shorthand (e.g. service-server)
source: OperatorSourceOperator source configuration (Python, shared library, etc.)
build: Option<String>Build commands for this operator
send_stdout_as: Option<String>Redirect stdout to data output
send_logs_as: Option<String>Redirect structured log entries to a data output as JSON strings
min_log_level: Option<String>Minimum log level for this operator
max_log_size: Option<String>Maximum log file size before rotation (e.g. “50MB”, “1GB”)
max_rotated_files: Option<u32>Maximum number of rotated log files to keep (default: 5, range: 0-100)
0 keeps the active log only, rotating the previous one away.
Trait Implementations§
Source§impl Clone for OperatorConfig
impl Clone for OperatorConfig
Source§impl Debug for OperatorConfig
impl Debug for OperatorConfig
Source§impl<'de> Deserialize<'de> for OperatorConfig
impl<'de> Deserialize<'de> for OperatorConfig
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>,
Source§impl JsonSchema for OperatorConfig
impl JsonSchema for OperatorConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for OperatorConfig
impl Freeze for OperatorConfigwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<DataId, Input> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(DataId, Input)>>: Freeze,
*const LeafNode<DataId, SetValZST> is !null: Freeze,
PhantomData<Box<(DataId, SetValZST)>>: Freeze,
*const LeafNode<DataId, String> is !null: Freeze,
PhantomData<Box<(DataId, String)>>: Freeze,
*const LeafNode<DataId, OutputFraming> is !null: Freeze,
PhantomData<Box<(DataId, OutputFraming)>>: Freeze,
*const LeafNode<DataId, Vec<String>> is !null: Freeze,
PhantomData<Box<(DataId, Vec<String>)>>: Freeze,
impl Move for OperatorConfig
impl RefUnwindSafe for OperatorConfig
impl Send for OperatorConfigwhere
RawVecInner: Send,
NodeRef<Owned, DataId, Input, LeafOrInternal>: Send,
BoxRaw<(DataId, Input)>: Send,
NodeRef<Owned, DataId, SetValZST, LeafOrInternal>: Send,
BoxRaw<(DataId, SetValZST)>: Send,
NodeRef<Owned, DataId, String, LeafOrInternal>: Send,
BoxRaw<(DataId, String)>: Send,
NodeRef<Owned, DataId, OutputFraming, LeafOrInternal>: Send,
BoxRaw<(DataId, OutputFraming)>: Send,
NodeRef<Owned, DataId, Vec<String>, LeafOrInternal>: Send,
BoxRaw<(DataId, Vec<String>)>: Send,
impl Sync for OperatorConfigwhere
RawVecInner: Sync,
NodeRef<Owned, DataId, Input, LeafOrInternal>: Sync,
BoxRaw<(DataId, Input)>: Sync,
NodeRef<Owned, DataId, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(DataId, SetValZST)>: Sync,
NodeRef<Owned, DataId, String, LeafOrInternal>: Sync,
BoxRaw<(DataId, String)>: Sync,
NodeRef<Owned, DataId, OutputFraming, LeafOrInternal>: Sync,
BoxRaw<(DataId, OutputFraming)>: Sync,
NodeRef<Owned, DataId, Vec<String>, LeafOrInternal>: Sync,
BoxRaw<(DataId, Vec<String>)>: Sync,
impl Unpin for OperatorConfigwhere
*const u8 is !null: Unpin,
*const LeafNode<DataId, Input> is !null: Unpin,
Box<(DataId, Input)>: Unpin,
*const LeafNode<DataId, SetValZST> is !null: Unpin,
Box<(DataId, SetValZST)>: Unpin,
*const LeafNode<DataId, String> is !null: Unpin,
Box<(DataId, String)>: Unpin,
*const LeafNode<DataId, OutputFraming> is !null: Unpin,
Box<(DataId, OutputFraming)>: Unpin,
*const LeafNode<DataId, Vec<String>> is !null: Unpin,
Box<(DataId, Vec<String>)>: Unpin,
impl UnsafeUnpin for OperatorConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<DataId, Input> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(DataId, Input)>>: UnsafeUnpin,
*const LeafNode<DataId, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(DataId, SetValZST)>>: UnsafeUnpin,
*const LeafNode<DataId, String> is !null: UnsafeUnpin,
PhantomData<Box<(DataId, String)>>: UnsafeUnpin,
*const LeafNode<DataId, OutputFraming> is !null: UnsafeUnpin,
PhantomData<Box<(DataId, OutputFraming)>>: UnsafeUnpin,
*const LeafNode<DataId, Vec<String>> is !null: UnsafeUnpin,
PhantomData<Box<(DataId, Vec<String>)>>: UnsafeUnpin,
impl UnwindSafe for OperatorConfigwhere
RawVecInner: UnwindSafe,
BTreeMap<DataId, Input>: UnwindSafe,
BTreeMap<DataId, SetValZST>: UnwindSafe,
BTreeMap<DataId, String>: UnwindSafe,
BTreeMap<DataId, OutputFraming>: UnwindSafe,
BTreeMap<DataId, Vec<String>>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more