pub struct MessageAttribute {
pub data_type: String,
pub string_value: Option<String>,
pub binary_value: Option<Vec<u8>>,
}Expand description
An SNS message attribute (key-value with a data type).
Fields§
§data_type: String§string_value: Option<String>§binary_value: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for MessageAttribute
impl Clone for MessageAttribute
Source§fn clone(&self) -> MessageAttribute
fn clone(&self) -> MessageAttribute
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 moreAuto Trait Implementations§
impl Freeze for MessageAttribute
impl RefUnwindSafe for MessageAttribute
impl Send for MessageAttribute
impl Sync for MessageAttribute
impl Unpin for MessageAttribute
impl UnsafeUnpin for MessageAttribute
impl UnwindSafe for MessageAttribute
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