pub struct TopicConfiguration {
pub events: EventList,
pub filter: Option<NotificationConfigurationFilter>,
pub id: Option<NotificationId>,
pub topic_arn: TopicArn,
}Expand description
A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events.
Fields§
§events: EventListThe Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
filter: Option<NotificationConfigurationFilter>§id: Option<NotificationId>§topic_arn: TopicArnThe Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.
Trait Implementations§
Source§impl Clone for TopicConfiguration
impl Clone for TopicConfiguration
Source§fn clone(&self) -> TopicConfiguration
fn clone(&self) -> TopicConfiguration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TopicConfiguration
impl Debug for TopicConfiguration
Source§impl Default for TopicConfiguration
impl Default for TopicConfiguration
Source§fn default() -> TopicConfiguration
fn default() -> TopicConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TopicConfiguration
impl<'de> Deserialize<'de> for TopicConfiguration
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<'xml> DeserializeContent<'xml> for TopicConfiguration
Available on crate feature minio only.
impl<'xml> DeserializeContent<'xml> for TopicConfiguration
Available on crate feature
minio only.Source§fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
Deserializes the content of the data type Read more
Source§impl DtoExt for TopicConfiguration
impl DtoExt for TopicConfiguration
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Modifies all empty string fields from
Some("") to NoneSource§impl PartialEq for TopicConfiguration
impl PartialEq for TopicConfiguration
Source§fn eq(&self, other: &TopicConfiguration) -> bool
fn eq(&self, other: &TopicConfiguration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TopicConfiguration
impl Serialize for TopicConfiguration
Source§impl SerializeContent for TopicConfiguration
Available on crate feature minio only.
impl SerializeContent for TopicConfiguration
Available on crate feature
minio only.Source§fn serialize_content<W: Write>(&self, s: &mut Serializer<W>) -> SerResult
fn serialize_content<W: Write>(&self, s: &mut Serializer<W>) -> SerResult
Serializes the content of the data type Read more
impl StructuralPartialEq for TopicConfiguration
Auto Trait Implementations§
impl Freeze for TopicConfiguration
impl RefUnwindSafe for TopicConfiguration
impl Send for TopicConfiguration
impl Sync for TopicConfiguration
impl Unpin for TopicConfiguration
impl UnsafeUnpin for TopicConfiguration
impl UnwindSafe for TopicConfiguration
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