pub struct ReviewChannelConfig {
pub channel_type: String,
pub blocking_mode: bool,
pub notification_level: String,
pub channel_config: Option<Value>,
}Expand description
Configuration for selecting and configuring a ReviewChannel.
Fields§
§channel_type: StringChannel type: “terminal” (default), future: “slack”, “discord”, “email”, “webhook”.
blocking_mode: boolWhether the agent blocks on approval (default: true).
notification_level: StringNotification level filter: “debug”, “info”, “warning”, “error”.
channel_config: Option<Value>Channel-specific configuration (webhook URL, Slack token, etc.).
Interpretation depends on channel_type.
Trait Implementations§
Source§impl Clone for ReviewChannelConfig
impl Clone for ReviewChannelConfig
Source§fn clone(&self) -> ReviewChannelConfig
fn clone(&self) -> ReviewChannelConfig
Returns a duplicate 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 ReviewChannelConfig
impl Debug for ReviewChannelConfig
Source§impl Default for ReviewChannelConfig
impl Default for ReviewChannelConfig
Source§impl<'de> Deserialize<'de> for ReviewChannelConfig
impl<'de> Deserialize<'de> for ReviewChannelConfig
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 Display for ReviewChannelConfig
impl Display for ReviewChannelConfig
Auto Trait Implementations§
impl Freeze for ReviewChannelConfig
impl RefUnwindSafe for ReviewChannelConfig
impl Send for ReviewChannelConfig
impl Sync for ReviewChannelConfig
impl Unpin for ReviewChannelConfig
impl UnsafeUnpin for ReviewChannelConfig
impl UnwindSafe for ReviewChannelConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.