[−][src]Struct ucare::webhook::UpdateParams
Params for updating webhook
Fields
id: i32
Webhook ID
event: Option<Event>
An event you subscribe to. Leave None if you don't want to change it
target_url: Option<String>
A URL that is triggered by an event, for example, a file upload. A target URL MUST be unique for each project — event type combination. Leave it None if you don't want to change it.
is_active: Option<bool>
Marks a subscription as either active or not, leave it None if you don't want to change it.
Trait Implementations
impl Debug for UpdateParams
[src]
impl Serialize for UpdateParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdateParams
impl Send for UpdateParams
impl Sync for UpdateParams
impl Unpin for UpdateParams
impl UnwindSafe for UpdateParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,