pub struct Hook {
pub id: u64,
pub url: String,
pub test_url: String,
pub ping_url: String,
pub name: String,
pub events: Vec<String>,
pub config: Value,
pub created_at: String,
pub updated_at: String,
pub active: bool,
}
Fields
id: u64
url: String
test_url: String
ping_url: String
name: String
events: Vec<String>
config: Value
created_at: String
updated_at: String
active: bool
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Hook
impl<'de> Deserialize<'de> for Hook
sourcefn 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 RefUnwindSafe for Hook
impl Send for Hook
impl Sync for Hook
impl Unpin for Hook
impl UnwindSafe for Hook
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more