pub struct WebhookResource {
pub id: Uuid,
pub repository_id: Uuid,
pub url: String,
pub secret: String,
pub events: Vec<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: Uuid§repository_id: Uuid§url: String§secret: String§events: Vec<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
impl ApiResource for WebhookResource
Source§impl Clone for WebhookResource
impl Clone for WebhookResource
Source§fn clone(&self) -> WebhookResource
fn clone(&self) -> WebhookResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebhookResource
impl Debug for WebhookResource
Source§impl<'de> Deserialize<'de> for WebhookResource
impl<'de> Deserialize<'de> for WebhookResource
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 WebhookResource
Source§impl PartialEq for WebhookResource
impl PartialEq for WebhookResource
Source§fn eq(&self, other: &WebhookResource) -> bool
fn eq(&self, other: &WebhookResource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebhookResource
impl Serialize for WebhookResource
impl StructuralPartialEq for WebhookResource
Auto Trait Implementations§
impl Freeze for WebhookResource
impl RefUnwindSafe for WebhookResource
impl Send for WebhookResource
impl Sync for WebhookResource
impl Unpin for WebhookResource
impl UnsafeUnpin for WebhookResource
impl UnwindSafe for WebhookResource
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