pub struct Hook {
pub id: Option<String>,
pub site_id: Option<String>,
pub _type: Option<String>,
pub event: Option<String>,
pub data: Option<Value>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub disabled: Option<bool>,
}
Fields§
§id: Option<String>
§site_id: Option<String>
§_type: Option<String>
§event: Option<String>
§data: Option<Value>
§created_at: Option<String>
§updated_at: Option<String>
§disabled: Option<bool>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hook
impl<'de> Deserialize<'de> for Hook
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 StructuralPartialEq for Hook
Auto Trait Implementations§
impl Freeze for Hook
impl RefUnwindSafe for Hook
impl Send for Hook
impl Sync for Hook
impl Unpin for Hook
impl UnwindSafe for Hook
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