pub enum WebhookEventType {
Show 21 variants
ConnectionCreated,
ConnectionOauthCreated,
ConnectionUpdated,
ConnectionDeleted,
ApiKeyCreated,
ApiKeyRevoked,
ProjectCreated,
ProjectUpdated,
ProjectDeleted,
OrganizationCreated,
OrganizationUpdated,
OrganizationDeleted,
OauthRefreshed,
OauthFailed,
PassthroughExecuted,
MemberAdded,
MemberRemoved,
MemberRoleUpdated,
GrantCreated,
GrantUpdated,
GrantRevoked,
}Expand description
Auto-generated discriminant enum variants
JSON schema
{
"description": "Auto-generated discriminant enum variants",
"type": "string",
"enum": [
"connection.created",
"connection.oauth.created",
"connection.updated",
"connection.deleted",
"api_key.created",
"api_key.revoked",
"project.created",
"project.updated",
"project.deleted",
"organization.created",
"organization.updated",
"organization.deleted",
"oauth.refreshed",
"oauth.failed",
"passthrough.executed",
"member.added",
"member.removed",
"member.role_updated",
"grant.created",
"grant.updated",
"grant.revoked"
]
}Variants§
ConnectionCreated
ConnectionOauthCreated
ConnectionUpdated
ConnectionDeleted
ApiKeyCreated
ApiKeyRevoked
ProjectCreated
ProjectUpdated
ProjectDeleted
OrganizationCreated
OrganizationUpdated
OrganizationDeleted
OauthRefreshed
OauthFailed
PassthroughExecuted
MemberAdded
MemberRemoved
MemberRoleUpdated
GrantCreated
GrantUpdated
GrantRevoked
Trait Implementations§
Source§impl Clone for WebhookEventType
impl Clone for WebhookEventType
impl Copy for WebhookEventType
Source§impl Debug for WebhookEventType
impl Debug for WebhookEventType
Source§impl<'de> Deserialize<'de> for WebhookEventType
impl<'de> Deserialize<'de> for WebhookEventType
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 Display for WebhookEventType
impl Display for WebhookEventType
impl Eq for WebhookEventType
Source§impl FromStr for WebhookEventType
impl FromStr for WebhookEventType
Source§impl Hash for WebhookEventType
impl Hash for WebhookEventType
Source§impl Ord for WebhookEventType
impl Ord for WebhookEventType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WebhookEventType
impl PartialEq for WebhookEventType
Source§impl PartialOrd for WebhookEventType
impl PartialOrd for WebhookEventType
Source§impl Serialize for WebhookEventType
impl Serialize for WebhookEventType
impl StructuralPartialEq for WebhookEventType
Source§impl TryFrom<&String> for WebhookEventType
impl TryFrom<&String> for WebhookEventType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for WebhookEventType
impl TryFrom<&str> for WebhookEventType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for WebhookEventType
impl TryFrom<String> for WebhookEventType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for WebhookEventType
impl Freeze for WebhookEventType
impl Move for WebhookEventType
impl RefUnwindSafe for WebhookEventType
impl Send for WebhookEventType
impl Sync for WebhookEventType
impl Unpin for WebhookEventType
impl UnsafeUnpin for WebhookEventType
impl UnwindSafe for WebhookEventType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.