pub struct SlackConfig {
pub arn: String,
pub configuration_name: String,
pub slack_team_id: String,
pub slack_channel_id: String,
pub slack_channel_name: Option<String>,
pub iam_role_arn: String,
pub sns_topic_arns: Vec<String>,
pub logging_level: Option<String>,
pub guardrail_policy_arns: Vec<String>,
pub user_authorization_required: Option<bool>,
pub tags: HashMap<String, String>,
}Fields§
§arn: String§configuration_name: String§slack_team_id: String§slack_channel_id: String§slack_channel_name: Option<String>§iam_role_arn: String§sns_topic_arns: Vec<String>§logging_level: Option<String>§guardrail_policy_arns: Vec<String>Trait Implementations§
Source§impl Clone for SlackConfig
impl Clone for SlackConfig
Source§fn clone(&self) -> SlackConfig
fn clone(&self) -> SlackConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackConfig
impl Debug for SlackConfig
Source§impl From<&SlackConfig> for SlackConfigView
impl From<&SlackConfig> for SlackConfigView
Source§fn from(c: &SlackConfig) -> Self
fn from(c: &SlackConfig) -> Self
Converts to this type from the input type.
Source§impl From<SlackConfigView> for SlackConfig
impl From<SlackConfigView> for SlackConfig
Source§fn from(v: SlackConfigView) -> Self
fn from(v: SlackConfigView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackConfig
impl RefUnwindSafe for SlackConfig
impl Send for SlackConfig
impl Sync for SlackConfig
impl Unpin for SlackConfig
impl UnsafeUnpin for SlackConfig
impl UnwindSafe for SlackConfig
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> 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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.