pub struct CreateNotificationSubscriptionRequest {
pub endpoint: String,
pub organization_id: String,
pub protocol: String,
pub subscription_type: String,
}Fields§
§endpoint: StringThe endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with https.
organization_id: StringThe ID of the organization.
protocol: StringThe protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
subscription_type: StringThe notification type.
Trait Implementations§
Source§impl Clone for CreateNotificationSubscriptionRequest
impl Clone for CreateNotificationSubscriptionRequest
Source§fn clone(&self) -> CreateNotificationSubscriptionRequest
fn clone(&self) -> CreateNotificationSubscriptionRequest
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 Default for CreateNotificationSubscriptionRequest
impl Default for CreateNotificationSubscriptionRequest
Source§fn default() -> CreateNotificationSubscriptionRequest
fn default() -> CreateNotificationSubscriptionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateNotificationSubscriptionRequest
impl PartialEq for CreateNotificationSubscriptionRequest
Source§fn eq(&self, other: &CreateNotificationSubscriptionRequest) -> bool
fn eq(&self, other: &CreateNotificationSubscriptionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateNotificationSubscriptionRequest
Auto Trait Implementations§
impl Freeze for CreateNotificationSubscriptionRequest
impl RefUnwindSafe for CreateNotificationSubscriptionRequest
impl Send for CreateNotificationSubscriptionRequest
impl Sync for CreateNotificationSubscriptionRequest
impl Unpin for CreateNotificationSubscriptionRequest
impl UnwindSafe for CreateNotificationSubscriptionRequest
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