pub struct ThreatModelingState {
pub analyzer: Arc<ThreatAnalyzer>,
pub webhook_configs: Vec<WebhookConfig>,
}Expand description
State for threat modeling handlers
Fields§
§analyzer: Arc<ThreatAnalyzer>Threat analyzer
webhook_configs: Vec<WebhookConfig>Webhook configs for notifications (optional)
Trait Implementations§
Source§impl Clone for ThreatModelingState
impl Clone for ThreatModelingState
Source§fn clone(&self) -> ThreatModelingState
fn clone(&self) -> ThreatModelingState
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 moreAuto Trait Implementations§
impl Freeze for ThreatModelingState
impl !RefUnwindSafe for ThreatModelingState
impl Send for ThreatModelingState
impl Sync for ThreatModelingState
impl Unpin for ThreatModelingState
impl UnsafeUnpin for ThreatModelingState
impl !UnwindSafe for ThreatModelingState
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