pub struct Playbook {
pub id: String,
pub name: String,
pub description: String,
pub threat_categories: Vec<ThreatCategory>,
pub min_severity: ThreatSeverity,
pub actions: Vec<PlaybookAction>,
pub enabled: bool,
pub requires_approval: bool,
}Expand description
Response playbook
Fields§
§id: String§name: String§description: String§threat_categories: Vec<ThreatCategory>§min_severity: ThreatSeverity§actions: Vec<PlaybookAction>§enabled: bool§requires_approval: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Playbook
impl<'de> Deserialize<'de> for Playbook
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 Freeze for Playbook
impl RefUnwindSafe for Playbook
impl Send for Playbook
impl Sync for Playbook
impl Unpin for Playbook
impl UnwindSafe for Playbook
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