pub struct HookVerdict {
pub decision: String,
pub reason: String,
}Fields§
§decision: Stringallow, deny or ask.
reason: StringTrait Implementations§
Source§impl Clone for HookVerdict
impl Clone for HookVerdict
Source§impl Debug for HookVerdict
impl Debug for HookVerdict
Source§impl<'de> Deserialize<'de> for HookVerdict
impl<'de> Deserialize<'de> for HookVerdict
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
impl Eq for HookVerdict
Source§impl PartialEq for HookVerdict
impl PartialEq for HookVerdict
Source§impl Serialize for HookVerdict
impl Serialize for HookVerdict
impl StructuralPartialEq for HookVerdict
Auto Trait Implementations§
impl Forget for HookVerdict
impl Freeze for HookVerdict
impl RefUnwindSafe for HookVerdict
impl Send for HookVerdict
impl Sync for HookVerdict
impl Unpin for HookVerdict
impl UnsafeUnpin for HookVerdict
impl UnwindSafe for HookVerdict
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