Struct heroku_rs::endpoints::apps::AppWebhook [−][src]
pub struct AppWebhook { pub app: WebhookApp, pub created_at: String, pub id: String, pub include: Vec<String>, pub level: String, pub updated_at: String, pub url: String, }
Expand description
App Webhook
Stability: production
Represents the details of a webhook subscription
See Heroku documentation for more information about this endpoint
Fields
app: WebhookApp
the app that has the webhook
created_at: String
when app webhook was created
id: String
unique identifier of app webhook
include: Vec<String>
the entities that the subscription provides notifications for
level: String
If notify, Heroku makes a single, fire-and-forget delivery attempt. If sync, Heroku attempts multiple deliveries until the request is successful or a limit is reached. one of: “notify” or “sync”
updated_at: String
when app webhook was updated
url: String
the URL where the webhook’s notification requests are sent
Trait Implementations
impl Clone for AppWebhook
[src]
impl Clone for AppWebhook
[src]fn clone(&self) -> AppWebhook
[src]
fn clone(&self) -> AppWebhook
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AppWebhook
[src]
impl Debug for AppWebhook
[src]impl<'de> Deserialize<'de> for AppWebhook
[src]
impl<'de> Deserialize<'de> for AppWebhook
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<'a> HerokuEndpoint<AppWebhook, (), ()> for AppWebhookDelete<'a>
[src]
impl<'a> HerokuEndpoint<AppWebhook, (), ()> for AppWebhookDelete<'a>
[src]impl<'a> HerokuEndpoint<AppWebhook, (), ()> for AppWebhookDetails<'a>
[src]
impl<'a> HerokuEndpoint<AppWebhook, (), ()> for AppWebhookDetails<'a>
[src]impl<'a> HerokuEndpoint<AppWebhook, (), AppWebhookCreateParams<'a>> for AppWebhookCreate<'a>
[src]
impl<'a> HerokuEndpoint<AppWebhook, (), AppWebhookCreateParams<'a>> for AppWebhookCreate<'a>
[src]fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<AppWebhookCreateParams<'a>>
[src]
fn query(&self) -> Option<QueryType>
[src]
fn url(&self, environment: &ApiEnvironment) -> Url
[src]
fn content_type(&self) -> &str
[src]
fn version(&self) -> &str
[src]
fn agent(&self) -> &str
[src]
impl<'a> HerokuEndpoint<AppWebhook, (), AppWebhookUpdateParams<'a>> for AppWebhookUpdate<'a>
[src]
impl<'a> HerokuEndpoint<AppWebhook, (), AppWebhookUpdateParams<'a>> for AppWebhookUpdate<'a>
[src]fn method(&self) -> Method
[src]
fn path(&self) -> String
[src]
fn body(&self) -> Option<AppWebhookUpdateParams<'a>>
[src]
fn query(&self) -> Option<QueryType>
[src]
fn url(&self, environment: &ApiEnvironment) -> Url
[src]
fn content_type(&self) -> &str
[src]
fn version(&self) -> &str
[src]
fn agent(&self) -> &str
[src]
impl PartialEq<AppWebhook> for AppWebhook
[src]
impl PartialEq<AppWebhook> for AppWebhook
[src]fn eq(&self, other: &AppWebhook) -> bool
[src]
fn eq(&self, other: &AppWebhook) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &AppWebhook) -> bool
[src]
fn ne(&self, other: &AppWebhook) -> bool
[src]This method tests for !=
.
impl Serialize for AppWebhook
[src]
impl Serialize for AppWebhook
[src]impl ApiResult for AppWebhook
[src]
impl Eq for AppWebhook
[src]
impl StructuralEq for AppWebhook
[src]
impl StructuralPartialEq for AppWebhook
[src]
Auto Trait Implementations
impl RefUnwindSafe for AppWebhook
impl Send for AppWebhook
impl Sync for AppWebhook
impl Unpin for AppWebhook
impl UnwindSafe for AppWebhook
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,