pub struct RepoHook {
pub id: u64,
pub name: String,
pub active: bool,
pub events: Vec<EventType>,
pub config: HookConfig,
pub updated_at: DateTime,
pub created_at: DateTime,
pub url: String,
pub test_url: String,
pub ping_url: String,
}
Fields§
§id: u64
§name: String
§active: bool
§events: Vec<EventType>
§config: HookConfig
§updated_at: DateTime
§created_at: DateTime
§url: String
§test_url: String
§ping_url: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RepoHook
impl<'de> Deserialize<'de> for RepoHook
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
Source§impl Ord for RepoHook
impl Ord for RepoHook
Source§impl PartialOrd for RepoHook
impl PartialOrd for RepoHook
impl Eq for RepoHook
impl StructuralPartialEq for RepoHook
Auto Trait Implementations§
impl Freeze for RepoHook
impl RefUnwindSafe for RepoHook
impl Send for RepoHook
impl Sync for RepoHook
impl Unpin for RepoHook
impl UnwindSafe for RepoHook
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