Struct aws_sdk_workdocs::operation::create_notification_subscription::CreateNotificationSubscriptionInput
source · #[non_exhaustive]pub struct CreateNotificationSubscriptionInput {
pub organization_id: Option<String>,
pub endpoint: Option<String>,
pub protocol: Option<SubscriptionProtocolType>,
pub subscription_type: Option<SubscriptionType>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.organization_id: Option<String>
The ID of the organization.
endpoint: Option<String>
The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with https
.
protocol: Option<SubscriptionProtocolType>
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
subscription_type: Option<SubscriptionType>
The notification type.
Implementations§
source§impl CreateNotificationSubscriptionInput
impl CreateNotificationSubscriptionInput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The ID of the organization.
sourcepub fn endpoint(&self) -> Option<&str>
pub fn endpoint(&self) -> Option<&str>
The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with https
.
sourcepub fn protocol(&self) -> Option<&SubscriptionProtocolType>
pub fn protocol(&self) -> Option<&SubscriptionProtocolType>
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
sourcepub fn subscription_type(&self) -> Option<&SubscriptionType>
pub fn subscription_type(&self) -> Option<&SubscriptionType>
The notification type.
source§impl CreateNotificationSubscriptionInput
impl CreateNotificationSubscriptionInput
sourcepub fn builder() -> CreateNotificationSubscriptionInputBuilder
pub fn builder() -> CreateNotificationSubscriptionInputBuilder
Creates a new builder-style object to manufacture CreateNotificationSubscriptionInput
.
Trait Implementations§
source§impl Clone for CreateNotificationSubscriptionInput
impl Clone for CreateNotificationSubscriptionInput
source§fn clone(&self) -> CreateNotificationSubscriptionInput
fn clone(&self) -> CreateNotificationSubscriptionInput
Returns a copy 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 PartialEq for CreateNotificationSubscriptionInput
impl PartialEq for CreateNotificationSubscriptionInput
source§fn eq(&self, other: &CreateNotificationSubscriptionInput) -> bool
fn eq(&self, other: &CreateNotificationSubscriptionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateNotificationSubscriptionInput
Auto Trait Implementations§
impl Freeze for CreateNotificationSubscriptionInput
impl RefUnwindSafe for CreateNotificationSubscriptionInput
impl Send for CreateNotificationSubscriptionInput
impl Sync for CreateNotificationSubscriptionInput
impl Unpin for CreateNotificationSubscriptionInput
impl UnwindSafe for CreateNotificationSubscriptionInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.