pub struct EventSinkConfig {
pub sink_type: String,
pub path: Option<String>,
}Expand description
Sink configuration entry — matches the agent YAML schema.
Fields§
§sink_type: StringSink type: "stdout" or "jsonl".
path: Option<String>File path (required for jsonl).
Trait Implementations§
Source§impl Clone for EventSinkConfig
impl Clone for EventSinkConfig
Source§impl Debug for EventSinkConfig
impl Debug for EventSinkConfig
Source§impl<'de> Deserialize<'de> for EventSinkConfig
impl<'de> Deserialize<'de> for EventSinkConfig
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 Forget for EventSinkConfig
impl Freeze for EventSinkConfig
impl Move for EventSinkConfig
impl RefUnwindSafe for EventSinkConfig
impl Send for EventSinkConfig
impl Sync for EventSinkConfig
impl Unpin for EventSinkConfig
impl UnsafeUnpin for EventSinkConfig
impl UnwindSafe for EventSinkConfig
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