pub struct LatestDecision {
pub decision: DecisionIdentifier,
pub webhook_succeeded: Option<bool>,
pub time: SystemTime,
}Expand description
The latest decision for an abuse type
Fields§
§decision: DecisionIdentifierLatest legacy decision
webhook_succeeded: Option<bool>Webhook success status
true if the webhook was successfully sent, false if the webhook failed to send, None
if no webhook is configured.
time: SystemTimeThe time the decision was applied.
Trait Implementations§
Source§impl Debug for LatestDecision
impl Debug for LatestDecision
Source§impl<'de> Deserialize<'de> for LatestDecision
impl<'de> Deserialize<'de> for LatestDecision
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 LatestDecision
impl RefUnwindSafe for LatestDecision
impl Send for LatestDecision
impl Sync for LatestDecision
impl Unpin for LatestDecision
impl UnwindSafe for LatestDecision
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