pub struct SubscriptionEventOutput {
pub id: String,
pub subscription_id: String,
pub event_type: String,
pub description: String,
pub data: Option<String>,
pub triggered_by: Option<String>,
pub created_at: String,
}Fields§
§id: String§subscription_id: String§event_type: String§description: String§data: Option<String>§triggered_by: Option<String>§created_at: StringTrait Implementations§
Source§impl Clone for SubscriptionEventOutput
impl Clone for SubscriptionEventOutput
Source§fn clone(&self) -> SubscriptionEventOutput
fn clone(&self) -> SubscriptionEventOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for SubscriptionEventOutput
impl<'de> Deserialize<'de> for SubscriptionEventOutput
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 From<SubscriptionEvent> for SubscriptionEventOutput
impl From<SubscriptionEvent> for SubscriptionEventOutput
Source§fn from(e: SubscriptionEvent) -> Self
fn from(e: SubscriptionEvent) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for SubscriptionEventOutput
impl FromNapiValue for SubscriptionEventOutput
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 Serialize for SubscriptionEventOutput
impl Serialize for SubscriptionEventOutput
Source§impl ToNapiValue for SubscriptionEventOutput
impl ToNapiValue for SubscriptionEventOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: SubscriptionEventOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: SubscriptionEventOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for SubscriptionEventOutput
impl TypeName for SubscriptionEventOutput
Source§impl ValidateNapiValue for SubscriptionEventOutput
impl ValidateNapiValue for SubscriptionEventOutput
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 SubscriptionEventOutput
impl RefUnwindSafe for SubscriptionEventOutput
impl Send for SubscriptionEventOutput
impl Sync for SubscriptionEventOutput
impl Unpin for SubscriptionEventOutput
impl UnsafeUnpin for SubscriptionEventOutput
impl UnwindSafe for SubscriptionEventOutput
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