pub struct WebhookOutput {
pub id: String,
pub name: String,
pub url: String,
pub has_secret: bool,
pub event_types: Vec<String>,
pub active: bool,
pub created_at: String,
}Fields§
§id: String§name: String§url: String§has_secret: bool§event_types: Vec<String>§active: bool§created_at: StringTrait Implementations§
Source§impl From<Webhook> for WebhookOutput
impl From<Webhook> for WebhookOutput
Source§impl FromNapiValue for WebhookOutput
impl FromNapiValue for WebhookOutput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl ToNapiValue for WebhookOutput
impl ToNapiValue for WebhookOutput
Source§unsafe fn to_napi_value(env: napi_env, val: WebhookOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: WebhookOutput) -> Result<napi_value>
Safety Read more
Source§impl TypeName for WebhookOutput
impl TypeName for WebhookOutput
Source§impl ValidateNapiValue for WebhookOutput
impl ValidateNapiValue for WebhookOutput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for WebhookOutput
impl RefUnwindSafe for WebhookOutput
impl Send for WebhookOutput
impl Sync for WebhookOutput
impl Unpin for WebhookOutput
impl UnsafeUnpin for WebhookOutput
impl UnwindSafe for WebhookOutput
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