pub struct NewCase { /* private fields */ }Expand description
A case definition for Cases::create. Cases have no external connector
and do not sync alert status unless configured.
Implementations§
Source§impl NewCase
impl NewCase
pub fn new( title: impl Into<String>, description: impl Into<String>, owner: impl Into<String>, ) -> Self
Sourcepub fn security(
title: impl Into<String>,
description: impl Into<String>,
) -> Self
pub fn security( title: impl Into<String>, description: impl Into<String>, ) -> Self
A low-severity case owned by the Security solution.
pub fn severity(self, severity: Severity) -> Self
Sourcepub fn sync_alerts(self, enabled: bool) -> Self
pub fn sync_alerts(self, enabled: bool) -> Self
Keeps attached alert statuses in step with the case status.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewCase
impl RefUnwindSafe for NewCase
impl Send for NewCase
impl Sync for NewCase
impl Unpin for NewCase
impl UnsafeUnpin for NewCase
impl UnwindSafe for NewCase
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